Commit 570a6258 authored by lisong's avatar lisong

添加检查项类别值

parent b05aa847
......@@ -932,7 +932,7 @@ public class PointServiceImpl implements IPointService {
List<RoutePoint> list = iRoutePointDao.queryRoutePoint(routeId, longs);
String excludeItems = list.get(0).getExcludeItems();
if(excludeItems!=null){
resList.forEach(e->{
resList.forEach(e -> {
if (e.containsKey("input_classify")) {
if ("WGJC".equals(e.get("input_classify").toString())) {
e.put("input_classify", "外观检查");
......@@ -940,9 +940,15 @@ public class PointServiceImpl implements IPointService {
e.put("input_classify", "功能测试");
} else if ("HJJC".equals(e.get("input_classify").toString())) {
e.put("input_classify", "环境检查");
} else if ("dayControl".equals(e.get("input_classify").toString())) {
e.put("input_classify", "日管控");
} else if ("monthlyScheduling".equals(e.get("input_classify").toString())) {
e.put("input_classify", "月调度");
} else if ("weeklySurvey".equals(e.get("input_classify").toString())) {
e.put("input_classify", "周排查");
} else {
e.put("input_classify", "其他");
}
}else{
e.put("input_classify","其他");
}
if (excludeItems.contains(e.get("itemId").toString())){
e.put("checked",true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment