From b6bf5c99a551f042616c184313a9abb9cab1008a Mon Sep 17 00:00:00 2001 From: pang.jiabao <pang_jiabao@163.com> Date: 星期一, 10 二月 2025 15:04:18 +0800 Subject: [PATCH] 导入聚乳酸明细时 牌号为161,171,181并且物资类别为改性树脂时指定主体为海正生物,生产车间为一车间 --- src/main/java/com/zy/common/service/CommonService.java | 12 ++---------- 1 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/main/java/com/zy/common/service/CommonService.java b/src/main/java/com/zy/common/service/CommonService.java index 11f066a..813d3db 100644 --- a/src/main/java/com/zy/common/service/CommonService.java +++ b/src/main/java/com/zy/common/service/CommonService.java @@ -50,7 +50,7 @@ /** * 鐢熸垚宸ヤ綔鍙� - * @param wrkMk 0:鍏ュ簱 1 - 3000 ; 1:鎷f枡/骞舵澘/鐩樼偣 3001 - 6000 ; 2: 鍑哄簱 6001 -9000 ; 3:鍏朵粬 9001 -9999 + * @param wrkMk * @return workNo(宸ヤ綔鍙�) */ public int getWorkNo(Integer wrkMk) { @@ -100,15 +100,7 @@ // whsType = getWhsType(sourceStaNo, times); StartupDto startupDto = new StartupDto(); - if (sourceStaNo < 200){ - whsType = 1; - } else if (sourceStaNo > 199 && sourceStaNo < 300){ - whsType = 2; - } else if (sourceStaNo > 299 && sourceStaNo < 400){ - whsType = 3; - } else if (sourceStaNo > 399){ - whsType = 4; - } + RowLastno rowLastno = rowLastnoService.selectById(whsType); if (Cools.isEmpty(rowLastno)) { -- Gitblit v1.9.1