2021与蓝度共同重构项目,服务端
fix
zhanzhiqin
2022-04-22 d170546ea4498d282c9cfef6258e4498aed7835e
ximon-admin/src/main/java/com/sandu/ximon/admin/controller/PoleController.java
@@ -124,8 +124,7 @@
            switch (param.getDeviceType()) {
                case 0:
                    Pole pole = poleService.getById(poleId);
                    if (!param.getDeviceCode().equals(pole.getDeviceCode())) {
//                    if (!pole.getDeviceCode().equals(param.getDeviceCode())) {
                    if (pole != null) {
                        pole.setPoleName(param.getDeviceName());
                        pole.setDeviceCode(param.getDeviceCode());
                        poleService.updateById(pole);