fix: 增加ERP质检版本事件幂等

This commit is contained in:
zhouz
2026-09-04 08:57:04 +08:00
parent 3667b749f7
commit 3c85d301d9
18 changed files with 157 additions and 24 deletions

View File

@@ -70,6 +70,12 @@ public interface TransportTaskApi {
@RequestParam("bizType") String bizType,
@RequestParam("bizId") String bizId);
@GetMapping(PREFIX + "/getLatestTaskByBiz")
@Operation(summary = "根据业务标识查询最新历史任务")
CommonResult<TaskInfoDTO> getLatestTaskByBiz(@RequestParam("ownerService") String ownerService,
@RequestParam("bizType") String bizType,
@RequestParam("bizId") String bizId);
@GetMapping(PREFIX + "/hasUnfinishedTaskByVehicleCode")
@Operation(summary = "判断载具是否存在未完成任务")
CommonResult<Boolean> hasUnfinishedTaskByVehicleCode(@RequestParam("vehicleCode") String vehicleCode);