|
@@ -1052,7 +1052,12 @@ public class ZEngineeringNodeServiceImpl implements IZEngineeringNodeService {
|
|
|
}
|
|
|
});
|
|
|
List stateList = new ArrayList();
|
|
|
- List<SysDictData> list = sysDictMap.get(item.getEnginType() + "_" + item.getEnginClassification());
|
|
|
+ List<SysDictData> list = Collections.EMPTY_LIST;
|
|
|
+ if (item.getEnginClassification().equals("pressure_regulating")) {
|
|
|
+ list = sysDictMap.get("gy_tyg");
|
|
|
+ } else {
|
|
|
+ list = sysDictMap.get(item.getEnginType() + "_" + item.getEnginClassification());
|
|
|
+ }
|
|
|
if (list != null && !list.isEmpty()) {
|
|
|
list.stream().forEach(item3 -> {
|
|
|
Map<String, Object> map = new HashMap<>();
|