补充三相总有功功率、三相总无功功率、三相总视在功率
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -23,6 +23,7 @@ public enum DicDataEnum {
|
||||
HSI("HSI","间谐波电流"),
|
||||
VOLTAGE("VOLTAGE","暂态"),
|
||||
F("F","闪变"),
|
||||
P("P","功率")
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user