From c45d612c0673c5037a12b4a7514b5c52e7ecdbe9 Mon Sep 17 00:00:00 2001 From: zhangc <zc@123> Date: 星期二, 26 十一月 2024 11:14:03 +0800 Subject: [PATCH] Merge branch 'phyzwms2' into phyzasrs-erp --- src/main/java/com/zy/asrs/task/handler/AgvWrkMastHandler.java | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/zy/asrs/task/handler/AgvWrkMastHandler.java b/src/main/java/com/zy/asrs/task/handler/AgvWrkMastHandler.java index 3b072b0..69403df 100644 --- a/src/main/java/com/zy/asrs/task/handler/AgvWrkMastHandler.java +++ b/src/main/java/com/zy/asrs/task/handler/AgvWrkMastHandler.java @@ -531,13 +531,14 @@ throw new CoolException("浠诲姟涓嬪彂澶辫触"); } - agvWrkMast.setWrkSts(202L); - agvWrkMast.setModiTime(new Date()); - boolean b = agvWrkMastService.updateById(agvWrkMast); + //agvWrkMast.setWrkSts(202L); + //agvWrkMast.setModiTime(new Date()); + //boolean b = agvWrkMastService.updateById(agvWrkMast); + boolean b = agvWrkMastService.updateWrkStsByWrkNo(Math.abs(agvWrkMast.getWrkNo()), 202L); if (!b) { log.info("鏇存柊浠诲姟鐘舵�佸け璐�,{}", agvWrkMast.getWrkNo()); throw new CoolException("鏇存柊浠诲姟鐘舵�佸け璐�"); - }else { + } else { log.info("鏇存柊浠诲姟鐘舵�佹垚鍔�,{}", agvWrkMast.getWrkNo()); } if (agvWrkMast.getIoType() == 1) { -- Gitblit v1.9.1