From 1ed6b53614d0a516fefa428039b06f91b900ebd7 Mon Sep 17 00:00:00 2001 From: TQS <56479841@qq.com> Date: 星期四, 05 一月 2023 14:06:27 +0800 Subject: [PATCH] # --- src/main/java/com/zy/common/service/CommonService.java | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/common/service/CommonService.java b/src/main/java/com/zy/common/service/CommonService.java index 00e4dbf..07661fa 100644 --- a/src/main/java/com/zy/common/service/CommonService.java +++ b/src/main/java/com/zy/common/service/CommonService.java @@ -115,16 +115,25 @@ StartupDto startupDto = new StartupDto(); int start; int end; + Integer theCrnNo = null; switch (sourceStaNo) { case 103: whsType = 1; start = 1; end = 14; + if (null != wrkMastService.selectPakoutOfStaNo(104)) { + start = 8; + theCrnNo = 2; + } break; case 203: whsType = 2; start = 8; end = 21; + if (null != wrkMastService.selectPakoutOfStaNo(204)) { + end = 14; + theCrnNo = 2; + } break; default: throw new CoolException("妫�绱㈠簱浣嶅け璐ワ紝璇疯仈绯荤鐞嗗憳"); @@ -218,9 +227,15 @@ switch (curRow) { case 1: curRow = 1; + if (null != theCrnNo) { + curRow = 8; + } break; case 2: curRow = 7; + if (null != theCrnNo) { + curRow = 14; + } break; case 3: curRow = 8; @@ -241,9 +256,15 @@ break; case 3: curRow = 15; + if (null != theCrnNo) { + curRow = 8; + } break; case 4: curRow = 21; + if (null != theCrnNo) { + curRow = 14; + } break; default: throw new CoolException("妫�绱㈠簱浣嶅け璐ワ紝璇疯仈绯荤鐞嗗憳"); -- Gitblit v1.9.1