dongyuangong преди 4 години
родител
ревизия
0460276544
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. +1
    -1
      src/main/java/com/taauav/front/service/impl/UserInspectDriverServiceImpl.java
  2. +1
    -1
      src/main/java/com/taauav/front/service/impl/UserInspectQuestionServiceImpl.java

+ 1
- 1
src/main/java/com/taauav/front/service/impl/UserInspectDriverServiceImpl.java Целия файл

@@ -292,7 +292,7 @@ public class UserInspectDriverServiceImpl extends BaseServiceImpl<TauvInspectDri
List<String> inspectHandName = iSysAdminService.getAdminNameByIds(inspectDriver.getInspectHand());
inspectDriverInfoVo.setInspectHandName(org.apache.commons.lang3.StringUtils.join(inspectHandName.toArray(), ","));
//app巡河
if (inspectDriver.getSource() == 5) {
if (inspectDriver.getSource() == 2) {
TauvInspectApp appInfo = iTauvInspectAppService.getInfo(inspectDriver.getInspectId());
if (appInfo == null) {
return response.failure("巡检任务不存在");

+ 1
- 1
src/main/java/com/taauav/front/service/impl/UserInspectQuestionServiceImpl.java Целия файл

@@ -128,7 +128,7 @@ public class UserInspectQuestionServiceImpl extends BaseServiceImpl<UserInspectQ
// 问题来源
TauvInspectDriver inspectDriver = inspectDriverService.getInfo(item.getInspectDriverId());
if (inspectDriver != null) {
item.setSource(inspectDriver.getSource() == 5 ? "人工巡查" : "无人机巡查");
item.setSource(inspectDriver.getSource() == 2 ? "人工巡查" : "无人机巡查");
}
});
}

Loading…
Отказ
Запис