Browse Source

rev:点位锁

master
zhangzq 3 months ago
parent
commit
5d71c80714
  1. 4
      lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/sorting/SortingCNTTask.java

4
lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/sorting/SortingCNTTask.java

@ -66,7 +66,9 @@ public class SortingCNTTask extends AbstractTask {
taskService.update(new UpdateWrapper<SchBaseTask>() taskService.update(new UpdateWrapper<SchBaseTask>()
.set("task_status",TaskStatus.CREATED.getCode()) .set("task_status",TaskStatus.CREATED.getCode())
.set("point_code1",basePoint.getPoint_code()).eq("task_id",task.getTask_id())); .set("point_code1",basePoint.getPoint_code()).eq("task_id",task.getTask_id()));
pointService.update(new UpdateWrapper<SchBasePoint>().set("ing_task_code",task.getTask_code()) pointService.update(new UpdateWrapper<SchBasePoint>()
.set("ing_task_code",task.getTask_code())
.set("is_lock",true)
.eq("point_code",basePoint.getPoint_code())); .eq("point_code",basePoint.getPoint_code()));
} }
} }

Loading…
Cancel
Save