|
@@ -1066,18 +1066,18 @@ public class ZEngineeringNodeServiceImpl implements IZEngineeringNodeService {
|
|
});
|
|
});
|
|
List stateList = new ArrayList();
|
|
List stateList = new ArrayList();
|
|
String dists = item.getModeOperation();
|
|
String dists = item.getModeOperation();
|
|
-// if ("地埋扳孔".equals(item.getModeOperation())){
|
|
|
|
-// dists="bury_the_wrench_hole";
|
|
|
|
-// }else if ("架空扳孔".equals(item.getModeOperation())){
|
|
|
|
-// dists="aerial_wrench_hole";
|
|
|
|
-// }else if ("停气作业".equals(item.getModeOperation())){
|
|
|
|
-// dists="shutdown_operation";
|
|
|
|
-// }else if ("PE 封堵".equals(item.getModeOperation())){
|
|
|
|
-// dists="pe_plugging";
|
|
|
|
-// }else if ("钢管带气封堵".equals(item.getModeOperation())){
|
|
|
|
-// dists="the_steel_pipe_sealed_with_gas";
|
|
|
|
-// }
|
|
|
|
- sysDictMap.get(dists).stream().forEach(item3 -> {
|
|
|
|
|
|
+ if ("地埋扳孔".equals(item.getModeOperation())){
|
|
|
|
+ dists="bury_the_wrench_hole";
|
|
|
|
+ }else if ("架空扳孔".equals(item.getModeOperation())){
|
|
|
|
+ dists="aerial_wrench_hole";
|
|
|
|
+ }else if ("停气作业".equals(item.getModeOperation())){
|
|
|
|
+ dists="shutdown_operation";
|
|
|
|
+ }else if ("PE 封堵".equals(item.getModeOperation())){
|
|
|
|
+ dists="pe_plugging";
|
|
|
|
+ }else if ("钢管带气封堵".equals(item.getModeOperation())){
|
|
|
|
+ dists="the_steel_pipe_sealed_with_gas";
|
|
|
|
+ }
|
|
|
|
+ sysDictMap.get(dists).forEach(item3 -> {
|
|
Map<String, Object> map = new HashMap<>();
|
|
Map<String, Object> map = new HashMap<>();
|
|
if (nodeList.size() > 0 && nodeList.stream().anyMatch(x -> x.getType().equals(item3.getDictValue()))) {
|
|
if (nodeList.size() > 0 && nodeList.stream().anyMatch(x -> x.getType().equals(item3.getDictValue()))) {
|
|
map.put("Type", item3.getDictValue());
|
|
map.put("Type", item3.getDictValue());
|