Commit 7c8815cf authored by ZWT's avatar ZWT

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

1.开发基础信息配置-输电线路配置模块修改功能,完成接口冒烟测试并生成接口文档;
2.开发基础信息配置-输电线路配置模块删除功能,完成接口冒烟测试并生成接口文档;
3.开发基础信息配置-输电线路配置模块详情功能,完成接口冒烟测试并生成接口文档;

BREAKING CHANGE: 无

Closes 无

[skip ci]
parent cef36c57
...@@ -85,6 +85,12 @@ public class BasePowerLineView implements Serializable { ...@@ -85,6 +85,12 @@ public class BasePowerLineView implements Serializable {
@TableField @TableField
private Integer isReverseDispatch; private Integer isReverseDispatch;
/**
* 策略名称
*/
@XText("策略名称")
private String policyName;
/** /**
* 上级线路名称 * 上级线路名称
*/ */
......
...@@ -46,6 +46,12 @@ public class GetBasePowerLineViewOutput { ...@@ -46,6 +46,12 @@ public class GetBasePowerLineViewOutput {
@XText("是否激活返输调度(0_激活;1_关闭)") @XText("是否激活返输调度(0_激活;1_关闭)")
private Integer isReverseDispatch; private Integer isReverseDispatch;
/**
* 策略名称
*/
@XText("策略名称")
private String policyName;
/** /**
* 上级线路名称 * 上级线路名称
*/ */
......
...@@ -41,16 +41,19 @@ ...@@ -41,16 +41,19 @@
<resultMap id="ExtendsResultMap" type="pps.core.base.entity.BasePowerLineView" extends="BaseResultMap"> <resultMap id="ExtendsResultMap" type="pps.core.base.entity.BasePowerLineView" extends="BaseResultMap">
<result column="upper_line_name" property="upperLineName" jdbcType="VARCHAR"/> <result column="upper_line_name" property="upperLineName" jdbcType="VARCHAR"/>
<result column="policy_name" property="policyName" jdbcType="VARCHAR"/>
</resultMap> </resultMap>
<select id="selectOne" parameterType="pps.core.base.entity.BasePowerLineView" resultMap="ExtendsResultMap"> <select id="selectOne" parameterType="pps.core.base.entity.BasePowerLineView" resultMap="ExtendsResultMap">
select select
<include refid="Base_Column_List"/> <include refid="Base_Column_List"/>
, ( SELECT line_name FROM base_power_line l WHERE l.id = base_power_line.upper_line_id ) AS upper_line_name , ( SELECT line_name FROM base_power_line l WHERE l.id = base_power_line.upper_line_id ) AS upper_line_name
, ( SELECT policy_name FROM base_price_strategy s WHERE s.id = base_power_line.strategy_id ) AS policy_name
from base_power_line from base_power_line
where where
id=#{id} id=#{id}
</select> </select>
<select id="selectList" parameterType="pps.core.base.entity.BasePowerLineView" resultMap="BaseResultMap"> <select id="selectList" parameterType="pps.core.base.entity.BasePowerLineView" resultMap="BaseResultMap">
select select
<include refid="Base_Column_List"/> <include refid="Base_Column_List"/>
......
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