|
|
@@ -75,8 +75,7 @@ public class UpdateInspectionStatusService { |
|
|
|
//查询出对应的巡检任务 |
|
|
|
Inspection inspection = inspectionMapper.selectOne(new LambdaQueryWrapper<Inspection>() |
|
|
|
.eq(Inspection::getMark, MarkEnum.VALID.getCode()) |
|
|
|
.eq(Inspection::getId, missionStatusRequest.getRequestId()) |
|
|
|
.eq(Inspection::getInspectionLine, missionStatusRequest.getId())); |
|
|
|
.eq(Inspection::getId, missionStatusRequest.getRequestId())); |
|
|
|
if (ObjectUtil.isEmpty(inspection)) { |
|
|
|
log.info("任务不存在"); |
|
|
|
return JsonResult.error(EditInspectionStatusCodeEnum.INSPECTION_IS_NOT_EXIST.getCode(), EditInspectionStatusCodeEnum.INSPECTION_IS_NOT_EXIST.getMsg()); |