ソースを参照

判空错误

tags/v1.1.0
qiujinyang 2年前
コミット
c104b4fcae
1個のファイルの変更1行の追加1行の削除
  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 ファイルの表示

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

読み込み中…
キャンセル
保存