更新充电站增加建站总功率和运行总功率字段
This commit is contained in:
parent
4e26756b05
commit
8b1cdc44fd
@ -34,6 +34,8 @@
|
||||
<result property="reminderInstructions" column="reminder_instructions"/>
|
||||
<result property="serviceTel" column="service_tel"/>
|
||||
<result property="parkNums" column="park_nums"/>
|
||||
<result property="installedTotalPower" column="installed_total_power" />
|
||||
<result property="runningTotalPower" column="running_total_power" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectXhpcChargingStationVo">
|
||||
@ -59,7 +61,9 @@
|
||||
update_time,
|
||||
update_by,
|
||||
remark,
|
||||
rate_model_id
|
||||
rate_model_id,
|
||||
installed_total_power,
|
||||
running_total_power
|
||||
from xhpc_charging_station
|
||||
</sql>
|
||||
|
||||
@ -136,6 +140,8 @@
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
<if test="rateModelId != null">rate_model_id,</if>
|
||||
<if test="installedTotalPower != null">installed_total_power,</if>
|
||||
<if test="runningTotalPower != null">running_total_power,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="chargingStationId != null">#{chargingStationId},</if>
|
||||
@ -161,6 +167,8 @@
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
<if test="rateModelId != null">#{rateModelId},</if>
|
||||
<if test="installedTotalPower != null">#{installedTotalPower},</if>
|
||||
<if test="runningTotalPower != null">#{runningTotalPower},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
@ -195,7 +203,9 @@
|
||||
<if test="stationType != null">station_type = #{stationType},</if>
|
||||
<if test="operatorIdEvcs != null">operator_id_evcs = #{operatorIdEvcs},</if>
|
||||
<if test="serviceTel != null">service_tel = #{serviceTel},</if>
|
||||
<if test="parkNums != null">park_nums = #{parkNums}</if>
|
||||
<if test="parkNums != null">park_nums = #{parkNums},</if>
|
||||
<if test="installedTotalPower != null">installed_total_power=#{installedTotalPower},</if>
|
||||
<if test="runningTotalPower != null">running_total_power=#{runningTotalPower},</if>
|
||||
</trim>
|
||||
where charging_station_id = #{chargingStationId}
|
||||
</update>
|
||||
@ -550,8 +560,10 @@
|
||||
service_tel,
|
||||
</if>
|
||||
<if test="null != parkNums and '' != parkNums">
|
||||
park_nums
|
||||
park_nums,
|
||||
</if>
|
||||
<if test="installedTotalPower != null">installed_total_power,</if>
|
||||
<if test="runningTotalPower != null">running_total_power,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="null != name and '' != name">
|
||||
@ -639,8 +651,10 @@
|
||||
#{serviceTel},
|
||||
</if>
|
||||
<if test="null != parkNums and '' != parkNums">
|
||||
#{parkNums}
|
||||
#{parkNums},
|
||||
</if>
|
||||
<if test="installedTotalPower != null">#{installedTotalPower},</if>
|
||||
<if test="runningTotalPower != null">#{runningTotalPower},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
|
||||
@ -17,6 +17,31 @@ public class ChargingStationDto {
|
||||
private String name;
|
||||
private String serviceTel;
|
||||
private Integer parkNums;
|
||||
/**
|
||||
* 装机总功率(单位:kw)
|
||||
*/
|
||||
private Integer installedTotalPower;
|
||||
|
||||
/**
|
||||
* 运行最大总功率(单位:%)
|
||||
*/
|
||||
private Integer runningTotalPower;
|
||||
|
||||
public Integer getInstalledTotalPower() {
|
||||
return installedTotalPower;
|
||||
}
|
||||
|
||||
public void setInstalledTotalPower(Integer installedTotalPower) {
|
||||
this.installedTotalPower = installedTotalPower;
|
||||
}
|
||||
|
||||
public Integer getRunningTotalPower() {
|
||||
return runningTotalPower;
|
||||
}
|
||||
|
||||
public void setRunningTotalPower(Integer runningTotalPower) {
|
||||
this.runningTotalPower = runningTotalPower;
|
||||
}
|
||||
|
||||
public String getAddress() {
|
||||
|
||||
|
||||
@ -110,6 +110,31 @@ public class XhpcChargingStation extends BaseEntity {
|
||||
*/
|
||||
private String serviceTel;
|
||||
|
||||
/**
|
||||
* 装机总功率(单位:kw)
|
||||
*/
|
||||
private Integer installedTotalPower;
|
||||
|
||||
/**
|
||||
* 运行最大总功率(单位:%)
|
||||
*/
|
||||
private Integer runningTotalPower;
|
||||
|
||||
public Integer getInstalledTotalPower() {
|
||||
return installedTotalPower;
|
||||
}
|
||||
|
||||
public void setInstalledTotalPower(Integer installedTotalPower) {
|
||||
this.installedTotalPower = installedTotalPower;
|
||||
}
|
||||
|
||||
public Integer getRunningTotalPower() {
|
||||
return runningTotalPower;
|
||||
}
|
||||
|
||||
public void setRunningTotalPower(Integer runningTotalPower) {
|
||||
this.runningTotalPower = runningTotalPower;
|
||||
}
|
||||
|
||||
/**
|
||||
*侧位数量
|
||||
|
||||
@ -34,6 +34,8 @@
|
||||
<result property="reminderInstructions" column="reminder_instructions"/>
|
||||
<result property="serviceTel" column="service_tel"/>
|
||||
<result property="parkNums" column="park_nums"/>
|
||||
<result property="installedTotalPower" column="installed_total_power" />
|
||||
<result property="runningTotalPower" column="running_total_power" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectXhpcChargingStationVo">
|
||||
@ -59,7 +61,9 @@
|
||||
update_time,
|
||||
update_by,
|
||||
remark,
|
||||
rate_model_id
|
||||
rate_model_id,
|
||||
installed_total_power,
|
||||
running_total_power
|
||||
from xhpc_charging_station
|
||||
</sql>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user