From d95ba4fa5ce46599288c1d2ec28f8c8ae7ea87fa Mon Sep 17 00:00:00 2001 From: zds <2388969634@qq.com> Date: Mon, 19 Aug 2024 13:54:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=9F=E6=9D=90=E6=96=99=E5=87=BA=E5=BA=93?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=EF=BC=9A=E5=8F=96=E6=B6=88=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E6=9B=B4=E6=96=B0=E5=B7=A5=E5=8D=95=E8=BD=BD?= =?UTF-8?q?=E5=85=B7=E4=B8=BA=E6=97=A0=E4=BB=BB=E5=8A=A1=E7=8A=B6=E6=80=81?= =?UTF-8?q?=EF=BC=8C=E5=8F=AF=E9=87=8D=E6=96=B0=E7=94=9F=E6=88=90=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E9=87=8D=E6=96=B0=E4=B8=8B=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/nl/wms/sch/task_manage/task/tasks/YCLCKTask.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/YCLCKTask.java b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/YCLCKTask.java index 7ad82a5..375ebc5 100644 --- a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/YCLCKTask.java +++ b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/YCLCKTask.java @@ -318,6 +318,11 @@ public class YCLCKTask extends AbstractTask { } taskObj.setRemark("任务取消"); taskObj.setTask_status(TaskStatus.CANCELED.getCode()); + String vehicleCode2 = taskObj.getVehicle_code2(); + //pdm_bd_workorder_two任务完成时,status改为3 + if(ObjectUtil.isNotEmpty(vehicleCode2)){ + workorderService.update(vehicleCode2,"1"); + } } taskService.update(taskObj); }