@@ -85,7 +85,8 @@ public class DspCallBackService { | |||
.orderByDesc(ThMission::getExecutionStartTime); | |||
List<ThMission> thMissions = missionMapper.selectList(lambdaQueryWrapper); | |||
if (ObjectUtil.isEmpty(thMissions) || thMissions.size() == 0) { | |||
throw new ServiceException(HttpStatus.BAD_REQUEST.value(), "任务不存在!"); | |||
log.info("任务不存在!!"); | |||
throw new ServiceException(HttpStatus.BAD_REQUEST.value(), "任务不存在!!"); | |||
} | |||
return thMissions.get(0); | |||
} |