Commit ed5d51de authored by ZWT's avatar ZWT

feat(零碳): 长庆

1.添加easy excel配置,增加转换器,增加全局excel导出样式,增加场站下拉选解析器;
2.开发光伏电站模板导出接口,增加模板导出类,并完成接口冒烟测试及接口文档;
3.间开制度管理模块新增设为基础制度开关接口,添加线上接口文档并完成接口冒烟测试;
4.开发井口配置模板导出接口,增加模板导出类,并完成接口冒烟测试及接口文档;
5.开发第三方有功功率历史数据导入接口,增加模板配置类,添加线上接口文档并完成接口冒烟测试;
6.开发给长庆使用的获取第三方认证token接口,验证获取token后是否能正常跳转指定页面,创建长庆用演示用户及角色;
7.开发柴发设备配置模板导出接口,增加模板导出类,并完成接口冒烟测试及接口文档;
8.开发储能设备配置模板导出接口,增加模板导出类,并完成接口冒烟测试及接口文档;
9.开发柴发设备配置导入接口,增加字段校验功能,并完成接口冒烟测试及接口文档;
10.开发井口设备配置导入接口,增加字段校验功能,并完成接口冒烟测试及接口文档;
11.开发光伏电站设备配置导入接口,增加字段校验功能,并完成接口冒烟测试及接口文档;
12.开发储能设备配置导入接口,增加字段校验功能,并完成接口冒烟测试及接口文档;
13.基础信息配置模块,修改光伏电站分页查询列表接口,增加排序逻辑,按照组织机构名称和电站名称升序排序;
14.基础信息配置模块,修改光伏电站模板导出接口,修改导出逻辑,不只是导出模板,增加查询条件,按条件及模板格式导出当前页电站数据;
15.基础信息配置模块,修改井口配置分页查询列表接口,增加按井号模糊搜索逻辑,增加排序逻辑,按照组织机构名称和井号升序排序;
16.基础信息配置模块,修改井口模板导出接口,修改导出逻辑,不只是导出模板,增加查询条件,按条件及模板格式导出当前页井口数据;
17.基础信息配置模块,修改柴发设备分页查询列表接口,增加排序逻辑,按照组织机构名称和设备名称升序排序;
18.基础信息配置模块,修改柴发设备模板导出接口,修改导出逻辑,不只是导出模板,增加查询条件,按条件及模板格式导出当前页柴发设备数据;
19.基础信息配置模块,修改储能设备分页查询列表接口,增加排序逻辑,按照组织机构名称和设备名称升序排序;
20.基础信息配置模块,修改储能设备模板导出接口,修改导出逻辑,不只是导出模板,增加查询条件,按条件及模板格式导出当前页储能设备数据;
21.基础信息配置模块,修改基础线路分页查询列表接口,增加排序逻辑,按照组织机构名称和线路类型及线路名称升序排序;

BREAKING CHANGE: 无

Closes 无

[skip ci]
parent 8ab965e2
...@@ -12,8 +12,8 @@ import pps.cloud.base.service.data.QueryBaseStationInput; ...@@ -12,8 +12,8 @@ import pps.cloud.base.service.data.QueryBaseStationInput;
import pps.cloud.base.service.data.QueryBaseStationOutput; import pps.cloud.base.service.data.QueryBaseStationOutput;
import pps.cloud.system.service.SystemDictionaryService; import pps.cloud.system.service.SystemDictionaryService;
import pps.cloud.system.service.data.sys_dictionary.CreateSysDictionaryInput; import pps.cloud.system.service.data.sys_dictionary.CreateSysDictionaryInput;
import pps.cloud.system.service.data.sys_organization.GetOuListTreeOutput;
import pps.cloud.system.service.data.sys_dictionary.QuerySysDictionaryViewOutput; import pps.cloud.system.service.data.sys_dictionary.QuerySysDictionaryViewOutput;
import pps.cloud.system.service.data.sys_organization.GetOuListTreeOutput;
import pps.cloud.system.service.data.sys_organization.SelectRegionFirmInput; import pps.cloud.system.service.data.sys_organization.SelectRegionFirmInput;
import pps.core.common.constant.BusinessConstant; import pps.core.common.constant.BusinessConstant;
import pps.core.common.constant.Constant; import pps.core.common.constant.Constant;
...@@ -440,7 +440,7 @@ public class SysOrganizationService { ...@@ -440,7 +440,7 @@ public class SysOrganizationService {
* @return {@link XListResult}<{@link DynamicQuerySysOrganizationOutput}> * @return {@link XListResult}<{@link DynamicQuerySysOrganizationOutput}>
*/ */
@XText("组织机构管理--查询组织和线路列表") @XText("组织机构管理--查询组织和线路列表")
@XApiGet @XApiPost
public XListResult<DynamicQuerySysOrganizationOutput> queryOrgAndLineList(XContext context, DynamicQuerySysOrganizationInput input) { public XListResult<DynamicQuerySysOrganizationOutput> queryOrgAndLineList(XContext context, DynamicQuerySysOrganizationInput input) {
SysOrganizationViewMapper mapper = context.getBean(SysOrganizationViewMapper.class); SysOrganizationViewMapper mapper = context.getBean(SysOrganizationViewMapper.class);
SysOrganizationView view = new SysOrganizationView(); SysOrganizationView view = new SysOrganizationView();
...@@ -457,6 +457,7 @@ public class SysOrganizationService { ...@@ -457,6 +457,7 @@ public class SysOrganizationService {
} }
List<SysOrganizationView> viewList; List<SysOrganizationView> viewList;
if (StringUtils.isNotBlank(input.getOuName())) { if (StringUtils.isNotBlank(input.getOuName())) {
view.setId(null);
view.setOuName(input.getOuName()); view.setOuName(input.getOuName());
viewList = mapper.selectLineList(view); viewList = mapper.selectLineList(view);
} else { } else {
......
...@@ -565,13 +565,19 @@ ...@@ -565,13 +565,19 @@
<select id="selectLineList" parameterType="pps.core.system.entity.SysOrganizationView" <select id="selectLineList" parameterType="pps.core.system.entity.SysOrganizationView"
resultMap="ExtendResultMap"> resultMap="ExtendResultMap">
SELECT ou_id AS id, SELECT ou_id AS id,
line_name AS ou_name, line_name AS ou_name,
id AS line_id, id AS line_id,
'LINE' AS ou_level 'LINE' AS ou_level
FROM base_power_line FROM base_power_line
WHERE ou_id = #{id} <where>
AND line_name LIKE CONCAT('%', #{ouName}, '%') <if test="id != null and id != ''">
AND ou_id = #{id}
</if>
<if test="ouName != null and ouName != ''">
AND line_name LIKE CONCAT('%', #{ouName}, '%')
</if>
</where>
ORDER BY line_name DESC ORDER BY line_name DESC
</select> </select>
......
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