feat: 增加搬运任务业务防重能力(任务3)
This commit is contained in:
@@ -51,6 +51,12 @@ public interface TransportTaskApi {
|
||||
@Operation(summary = "根据 taskCode 查询任务")
|
||||
CommonResult<TaskInfoDTO> getTaskByCode(@RequestParam("taskCode") String taskCode);
|
||||
|
||||
@GetMapping(PREFIX + "/getUnfinishedTaskByBiz")
|
||||
@Operation(summary = "根据业务标识查询未完成任务")
|
||||
CommonResult<TaskInfoDTO> getUnfinishedTaskByBiz(@RequestParam("ownerService") String ownerService,
|
||||
@RequestParam("bizType") String bizType,
|
||||
@RequestParam("bizId") String bizId);
|
||||
|
||||
@GetMapping(PREFIX + "/getRunningTaskByMaterialId")
|
||||
@Operation(summary = "根据 materialId 和 ownerService 查询运行中任务")
|
||||
CommonResult<List<TaskInfoDTO>> getRunningTaskByMaterialId(@RequestParam("materialId") Long materialId,
|
||||
|
||||
Reference in New Issue
Block a user