Lius
2023-12-14 b5ca03a3078a7cc738c0d22562c8e9cd8168704f
编辑功能调整
已修改1个文件
1 ■■■■ 文件已修改
lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/controller/MdcEquipmentThresholdController.java 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/controller/MdcEquipmentThresholdController.java
@@ -88,7 +88,6 @@
        String chineseName = mdcEquipmentThreshold.getChineseName();
        mdcEquipmentThreshold.setEnglishName(chineseName.substring(0, chineseName.indexOf("(")));
        mdcEquipmentThreshold.setChineseName(chineseName.substring(mdcEquipmentThreshold.getEnglishName().length() + 1, chineseName.length() - 1));
        mdcEquipmentThresholdService.save(mdcEquipmentThreshold);
        mdcEquipmentThresholdService.updateById(mdcEquipmentThreshold);
        return Result.OK("编辑成功!");
    }