feat:子卷质检合格

This commit is contained in:
2026-08-18 18:27:14 +08:00
parent 3ec762c7a3
commit ed8b688cf8
18 changed files with 501 additions and 28 deletions

View File

@@ -54,6 +54,15 @@ public interface TransportTaskApi {
@Operation(summary = "根据 taskCode 查询任务")
CommonResult<TaskInfoDTO> getTaskByCode(@RequestParam("taskCode") String taskCode);
/**
* 根据点位编码查询第一条未完成任务
*
* @param pointCode 点位编码
* @return 未完成任务
*/
@GetMapping(PREFIX + "/getFirstUnfinishedTaskByPointCode")
CommonResult<TaskInfoDTO> getFirstUnfinishedTaskByPointCode(@RequestParam("pointCode") String pointCode);
@GetMapping(PREFIX + "/getRunningTaskByMaterialId")
@Operation(summary = "根据 materialId 和 ownerService 查询运行中任务")
CommonResult<List<TaskInfoDTO>> getRunningTaskByMaterialId(@RequestParam("materialId") Long materialId,