From 0028d5c19b30be09c965f9760f2bccff45a84393 Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期五, 05 七月 2024 12:57:08 +0800 Subject: [PATCH] # --- src/main/java/com/zy/common/web/WcsController.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/zy/common/web/WcsController.java b/src/main/java/com/zy/common/web/WcsController.java index 035d519..5acf897 100644 --- a/src/main/java/com/zy/common/web/WcsController.java +++ b/src/main/java/com/zy/common/web/WcsController.java @@ -73,7 +73,7 @@ if (wrkMast != null && wrkMast.getIoType() == 103) { return R.parse(CodeRes.PICK_600); } - return R.parse(CodeRes.NO_COMB_700); + return R.error(param.getBarcode() + "姝ゆ潯鐮佹湭缁勬墭锛岃鍏堢粍鎵橈紒"); } int countLoc = locDetlService.selectCount(new EntityWrapper<LocDetl>().eq("zpallet",param.getBarcode())); int countWrk = wrkMastService.selectCount(new EntityWrapper<WrkMast>().eq("barcode",param.getBarcode()) @@ -166,12 +166,12 @@ // 妫�绱㈠簱浣� List<String> matNos = waitPakins.stream().map(WaitPakin::getMatnr).distinct().collect(Collectors.toList()); int rowCount = rowLastnoService.selectCount(null); - Integer integer = 1; + Integer integer = 2; for (int i = 1; i <= rowCount; i++) { integer = rowLastnoService.selectNextWhsType(); BasCrnp crn_no = basCrnpService.selectOne(new EntityWrapper<BasCrnp>() - .eq("crn_no", i)); - if (crn_no.getInEnable().equals("Y") && crn_no.getCrnSts().equals("3")){ + .eq("crn_no", integer)); + if (crn_no.getInEnable().equals("Y") && crn_no.getCrnSts() == 3){ break; } } -- Gitblit v1.9.1