补充三相总有功功率、三相总无功功率、三相总视在功率

This commit is contained in:
caozehui
2026-07-06 16:28:24 +08:00
parent 4d52e9c820
commit cf2dcf8ff4
4 changed files with 93 additions and 7 deletions

View File

@@ -83,9 +83,9 @@ public class DictTreeServiceImpl extends ServiceImpl<DictTreeMapper, DictTree> i
public boolean updateDictTree(DictTreeParam.UpdateParam param) {
param.setName(param.getName().trim());
DictTree dictTree = this.getById(param.getId());
if ("975f63baeb6f653c54fca226a9ae36ca".equals(param.getId()) || dictTree.getPids().contains("975f63baeb6f653c54fca226a9ae36ca")) {
throw new BusinessException(SystemResponseEnum.CAN_NOT_UPDATE_USED_DICT);
}
// if ("975f63baeb6f653c54fca226a9ae36ca".equals(param.getId()) || dictTree.getPids().contains("975f63baeb6f653c54fca226a9ae36ca")) {
// throw new BusinessException(SystemResponseEnum.CAN_NOT_UPDATE_USED_DICT);
// }
checkRepeat(param, true);
DictTree copyDictTree = new DictTree();
BeanUtils.copyProperties(param, copyDictTree);

View File

@@ -23,6 +23,7 @@ public enum DicDataEnum {
HSI("HSI","间谐波电流"),
VOLTAGE("VOLTAGE","暂态"),
F("F","闪变"),
P("P","功率")