fix: 暂存到内包间只校验起点任务

This commit is contained in:
2025-03-13 22:10:23 +08:00
parent 473241c84e
commit 989f45c2f7

View File

@@ -1017,7 +1017,7 @@ public class SlitterServiceImpl implements SlitterService {
// param: point_code
String pointCode = param.getString("point_code");
// 校验是否存在任务
List<SchBaseTask> taskList = taskService.checkHaveTask(pointCode);
List<SchBaseTask> taskList = taskService.checkHaveStartTask(pointCode);
if (taskList.size() > 0) {
throw new BadRequestException("操作失败,点位[" + pointCode + "]存在未完成的任务!");
}