Browse Source

判空错误

tags/v1.1.0
qiujinyang 2 years ago
parent
commit
c104b4fcae
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/ThInspectionServiceImpl.java

+ 1
- 1
tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/ThInspectionServiceImpl.java View File

@@ -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";

Loading…
Cancel
Save