Browse Source

1、主机详情内容修改

dev_gh_ers
3067418132@qq.com 3 weeks ago
parent
commit
64c2158f12
  1. 1
      mh-admin/src/main/java/com/mh/web/controller/device/ChillersParamsController.java

1
mh-admin/src/main/java/com/mh/web/controller/device/ChillersParamsController.java

@ -60,6 +60,7 @@ public class ChillersParamsController extends BaseController {
// 使用正则表达式去掉“号主机”及之前的内容 // 使用正则表达式去掉“号主机”及之前的内容
String result = otherName != null ? otherName.replaceFirst(".*号主机", "") : otherName; String result = otherName != null ? otherName.replaceFirst(".*号主机", "") : otherName;
result = result != null ? result.replace("_", "") : result; result = result != null ? result.replace("_", "") : result;
result = result != null ? result.replace("主机参数", "") : result;
item.setOtherName(result); item.setOtherName(result);
}); });
// list中的CollectionParamsManage对象赋值到CollectionParamsManageVO2形成List<CollectionParamsManageVO2> // list中的CollectionParamsManage对象赋值到CollectionParamsManageVO2形成List<CollectionParamsManageVO2>

Loading…
Cancel
Save