瀏覽代碼

机场任务状态回调接口,增加requestId字段

tags/v1.1.0^2
wanghaoran 1 年之前
父節點
當前提交
fb1d4edc40
共有 2 個檔案被更改,包括 4 行新增0 行删除
  1. +3
    -0
      tuoheng-admin/src/main/java/com/tuoheng/admin/entity/request/MissionStatusRequest.java
  2. +1
    -0
      tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/MissionServiceImpl.java

+ 3
- 0
tuoheng-admin/src/main/java/com/tuoheng/admin/entity/request/MissionStatusRequest.java 查看文件

@@ -39,4 +39,7 @@ public class MissionStatusRequest implements Serializable {

@ApiModelProperty(value = "直播原视频外网地址")
private String playUrl;

@ApiModelProperty(value = "请求ID")
private String requestId;
}

+ 1
- 0
tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/MissionServiceImpl.java 查看文件

@@ -248,6 +248,7 @@ public class MissionServiceImpl extends BaseServiceImpl<ThMissionMapper, ThMissi
LambdaQueryWrapper<ThMission> lambdaQueryWrapper=new LambdaQueryWrapper<>();
lambdaQueryWrapper.orderByAsc(ThMission::getExecutionStartTime);
lambdaQueryWrapper.eq(ThMission::getInspectionLine, missionStatusRequest.getId());
lambdaQueryWrapper.eq(ThMission::getId,missionStatusRequest.getRequestId());
lambdaQueryWrapper.eq(ThMission::getStatus,status);
//lambdaQueryWrapper.eq(ThMission::getTenantId,ShiroUtils.getTenantId());
List<ThMission> thMissions = thMissionMapper.selectList(lambdaQueryWrapper);

Loading…
取消
儲存