@@ -105,7 +105,7 @@ public class ThInspectionServiceImpl extends BaseServiceImpl<ThInspectionMapper, | |||
public JsonResult executeTask(Integer taskId) throws ServiceException{ | |||
ThMission thMission = missionMapper.selectById(taskId); | |||
Assert.isNull(thMission,"任务不能为空!"); | |||
Assert.notNull(thMission,"任务不能为空!"); | |||
taskId=Integer.valueOf(thMission.getInspectionLine()); | |||
//这边需要配置到yml文件里面 | |||
String url = CommonConfig.airportUrl + "/api/airportInterface/executeTask"; |