From 62dd8d27361ae16c45c227c87a3d0feb4c8248a8 Mon Sep 17 00:00:00 2001 From: 1 <1@123> Date: 星期四, 08 五月 2025 14:08:03 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java | 12 +++++++++--- 1 files changed, 9 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 0060059..194a76b 100644 --- a/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java +++ b/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java @@ -75,9 +75,9 @@ taskWrk = new TaskWrk(); int workNo1 = 0;//鑾峰彇鍏ュ簱宸ヤ綔鍙� if (param.getIoType() .equals(1)){ - commonService.getWorkNo(WorkNoType.PAKOUT.type); + workNo1 = commonService.getWorkNo(WorkNoType.PAKOUT.type); } else { - commonService.getWorkNo(WorkNoType.PAKIN.type); + workNo1 = commonService.getWorkNo(WorkNoType.PAKIN.type); } taskWrk.setTaskNo(param.getTaskNo());//浠诲姟鍙� taskWrk.setWrkNo(workNo1); @@ -106,7 +106,9 @@ if (!Cools.isEmpty(param.getTargetPoint())) { // taskWrk.setTargetPoint(Utils.getWcsLocNo(param.getTargetPoint()));//缁堢偣 杞崲涓� taskWrk.setTargetPoint(param.getTargetPoint());//缁堢偣 - taskWrk.setOriginTargetPoint(param.getStartPoint()); + taskWrk.setStartPoint(param.getStartPoint()); + taskWrk.setOriginStartPoint(param.getStartPointSta().toString()); + taskWrk.setOriginTargetPoint(param.getTargetPointSta().toString()); } } else if (param.getIoType() == 2) { @@ -116,11 +118,15 @@ taskWrk.setTargetPoint(param.getTargetPoint()); } taskWrk.setTargetPoint(param.getTargetPoint()); + taskWrk.setOriginStartPoint(param.getStartPointSta().toString()); + taskWrk.setOriginTargetPoint(param.getTargetPointSta().toString()); }else if (param.getIoType() == 3){ taskWrk.setWrkSts(11); if (!Cools.isEmpty(param.getStartPoint())) { taskWrk.setStartPoint(param.getStartPoint());//璧风偣 taskWrk.setTargetPoint(param.getTargetPoint()); + taskWrk.setOriginStartPoint(param.getStartPointSta().toString()); + taskWrk.setOriginTargetPoint(param.getTargetPointSta().toString()); } } -- Gitblit v1.9.1