From 71c8b222a56c0f9d1a15c2e5717989598ada70d5 Mon Sep 17 00:00:00 2001 From: 野心家 <1051256694@qq.com> Date: 星期一, 09 九月 2024 12:06:23 +0800 Subject: [PATCH] # --- src/main/java/com/zy/common/service/CommonService.java | 20 ++------------------ 1 files changed, 2 insertions(+), 18 deletions(-) diff --git a/src/main/java/com/zy/common/service/CommonService.java b/src/main/java/com/zy/common/service/CommonService.java index b187200..bfef011 100644 --- a/src/main/java/com/zy/common/service/CommonService.java +++ b/src/main/java/com/zy/common/service/CommonService.java @@ -102,14 +102,8 @@ @Transactional public StartupDto getLocNo(Integer whsType, Integer staDescId, Integer sourceStaNo, List<String> matNos, LocTypeDto locTypeDto, int times) { - if (sourceStaNo.equals(202)) { - whsType = 1; - locTypeDto.setLocType1((short) 1); - } else if (sourceStaNo.equals(206)) { - whsType = 2; - locTypeDto.setLocType1((short) 2); - } - + whsType = 1; + locTypeDto.setLocType1((short) 1); StartupDto startupDto = new StartupDto(); RowLastno rowLastno = rowLastnoService.selectById(whsType); if (Cools.isEmpty(rowLastno)) { @@ -126,16 +120,6 @@ int crnNo = crn_qty; // 鐩爣搴撲綅 LocMast locMast = null; - - crnNo=2; - if (curRow == 3) { - curRow = 4; - } else if (curRow == 4) { - curRow = 3; - } else { - rowCount = 0; - crnNo=1; - } if (crnNo == 0) { throw new CoolException("娌℃湁鍙敤鐨勫爢鍨涙満"); -- Gitblit v1.9.1