Browse Source

恢复数据来源修改

master
lijiuwei 8 months ago
parent
commit
6d56086694
1 changed files with 5 additions and 4 deletions
  1. +5
    -4
      inspect-main/inspect-main-task/src/main/java/com/inspect/partrolresult/controller/PatrolResultController.java

+ 5
- 4
inspect-main/inspect-main-task/src/main/java/com/inspect/partrolresult/controller/PatrolResultController.java View File

@ -1248,9 +1248,10 @@ public class PatrolResultController extends BaseController {
if (str.equals("13")) {
datetype = "3";
} else if (!str.equals("1") && !str.equals("2") && !str.equals("3")) {
datetype = str.equals("14") ? "4" : "2";
datetype = str.equals("14") ? "4" : "1";
} else {
datetype = "1";
datetype = "2";
}
}
}
@ -1362,9 +1363,9 @@ public class PatrolResultController extends BaseController {
if (strfile.equals("13")) {
arr.setDataType("3");
} else if (!strfile.equals("1") && !strfile.equals("2") && !strfile.equals("3")) {
arr.setDataType(strfile.equals("14") ? "4" : "2");
arr.setDataType(strfile.equals("14") ? "4" : "1");
} else {
arr.setDataType("1");
arr.setDataType("2");
}
}
}


Loading…
Cancel
Save