From ee3a4804211a44fe9796caff493635ba15f1b764 Mon Sep 17 00:00:00 2001 From: lsh <1> Date: 星期五, 12 一月 2024 22:16:23 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java | 19 ++++++++++++++++--- 1 files changed, 16 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java index d326963..b6cbfdd 100644 --- a/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java +++ b/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java @@ -65,6 +65,10 @@ private LocDetlRullUpDetailService locDetlRullUpDetailService; @Autowired private WrkDetlSingleService wrkDetlSingleService; + @Autowired + private WrkMastStaService wrkMastStaService; + @Autowired + private WrkMastStaLogService wrkMastStaLogService; @Override @Transactional @@ -891,9 +895,10 @@ //鍒ゆ柇param鍙傛暟 if (Cools.isEmpty(param.getBarcode())){ throw new CoolException("鍙傛暟锛氭墭鐩樼爜 barcode涓虹┖"); - }else if (Cools.isEmpty(param.getPalletizingNo())){ - throw new CoolException("鍙傛暟锛氱爜鍨涗綅缂栧彿 palletizingNo涓虹┖"); } +// else if (Cools.isEmpty(param.getPalletizingNo())){ +// throw new CoolException("鍙傛暟锛氱爜鍨涗綅缂栧彿 palletizingNo涓虹┖"); +// } WrkMast wrkMastMatrix = wrkMastService.selectByBarcode(param.getBarcode()); if (Cools.isEmpty(wrkMastMatrix)){ throw new CoolException("鍙傛暟锛氭墭鐩樼爜鏌ヨ宸ヤ綔妗eけ璐ワ細"+param.getBarcode()); @@ -969,7 +974,15 @@ @Override @Transactional public void cs3() { - + //鎷嗙洏 + WrkMastSta wrkMastSta1 = new WrkMastSta(new Date(),119); + wrkMastSta1.setType(2); + wrkMastSta1.setWrkType(2); + wrkMastStaService.insert(wrkMastSta1); + WrkMastSta wrkMastSta2 = new WrkMastSta(new Date(),121); + wrkMastSta2.setType(2); + wrkMastSta2.setWrkType(2); + wrkMastStaService.insert(wrkMastSta2); } /*...........................涓婇ザ姹熼摐..............浠ヤ笂.............寰愬伐姹変簯...........................*/ -- Gitblit v1.9.1