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