rev:mes查看任务加条件

This commit is contained in:
2025-02-25 14:53:26 +08:00
parent 9925c64446
commit 2b8d4af7f2
2 changed files with 7 additions and 4 deletions

View File

@@ -171,6 +171,7 @@ public class MesToWmsServiceImpl implements MesToWmsService {
List<SchBaseTask> taskList = taskService.list(
new QueryWrapper<SchBaseTask>().lambda()
.eq(SchBaseTask::getIs_delete, RegionEnum.IS_NOTANDYES.code(""))
.lt(SchBaseTask::getTask_status, TaskStatus.FINISHED.getCode())
);
// 处理需返回数据