opt: 部分优化

This commit is contained in:
2026-02-05 10:25:49 +08:00
parent 295fbc04b4
commit 9cf5c4bc45
3 changed files with 20 additions and 3 deletions

View File

@@ -75,6 +75,7 @@ public abstract class AbstractTask {
List<SchBaseTask> taskList = taskService.list(new LambdaQueryWrapper<SchBaseTask>()
.eq(SchBaseTask::getIs_delete, IOSConstant.IS_DELETE_NO)
.eq(SchBaseTask::getTask_status, TaskStatus.CREATED.getCode())
.orderByAsc(SchBaseTask::getFailures)
.orderByAsc(SchBaseTask::getTask_group_id)
.orderByAsc(SchBaseTask::getTask_group_seq));
if (ObjectUtil.isEmpty(taskList)) {

View File

@@ -121,7 +121,7 @@ public class InBillTask extends AbstractTask {
acsTaskDto.setStart_device_code2(taskDao.getPoint_code3());
acsTaskDto.setNext_device_code2(taskDao.getPoint_code4());
acsTaskDto.setPriority(taskDao.getPriority());
acsTaskDto.setTask_type("1");
acsTaskDto.setTask_type("4");
return acsTaskDto;
}