Commit 780dbd0b authored by ZWT's avatar ZWT

feat(能源管理系统): 基础信息配置

1.修改基础信息配置-井口配置模块删除接口,增加私有方法校验井口是否已被线路引用;
2.修改基础信息配置-光伏电站配置模块删除接口,增加私有方法校验光伏电站是否已被线路引用;
3.修改基础信息配置-储能设备配置模块删除接口,增加私有方法校验储能设备是否已被线路引用;
4.修改基础信息配置-柴发设备配置模块删除接口,增加私有方法校验柴发设备是否已被线路引用;
5.修改基础信息配置-市电峰谷模块新增/修改接口,优化市电峰谷关联信息批量新增逻辑;
6.修改基础信息配置-输电线路配置模块新增/修改接口,优化输电线路关联信息批量新增逻辑;
7.修改基础信息配置-间开制度管理模块新增/修改接口,优化间开制度关联信息批量新增逻辑;

BREAKING CHANGE: 无

Closes 无

[skip ci]
parent 597134b8
...@@ -346,6 +346,8 @@ public class BasePriceStrategyService { ...@@ -346,6 +346,8 @@ public class BasePriceStrategyService {
} }
} }
monthMapper.batchInsertList(monthViewList); monthMapper.batchInsertList(monthViewList);
detailMapper.batchInsertList(detailViewList); if (CollUtil.isNotEmpty(detailViewList)) {
detailMapper.batchInsertList(detailViewList);
}
} }
} }
\ No newline at end of file
...@@ -402,9 +402,7 @@ public class SpaceInstitutionDetailService { ...@@ -402,9 +402,7 @@ public class SpaceInstitutionDetailService {
}); });
} }
} }
if (CollUtil.isNotEmpty(wellheadViewList)) { wellheadViewMapper.batchInsertList(wellheadViewList);
wellheadViewMapper.batchInsertList(wellheadViewList);
}
if (CollUtil.isNotEmpty(durationViewList)) { if (CollUtil.isNotEmpty(durationViewList)) {
durationViewMapper.batchInsertList(durationViewList); durationViewMapper.batchInsertList(durationViewList);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment