修改了新增场站接口,使其能够往数据库xhpc_charging_station表中的operator_id_evcs字段中添加值

This commit is contained in:
wen 2021-09-22 17:44:43 +08:00
parent 71de09076e
commit 961b14176f
2 changed files with 23 additions and 2 deletions

View File

@ -506,7 +506,10 @@
remark,
</if>
<if test="null != stationType">
station_type
station_type,
</if>
<if test="null != operatorIdEvcs and '' != operatorIdEvcs">
operator_id_evcs
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
@ -586,7 +589,10 @@
#{remark},
</if>
<if test="null != stationType">
#{stationType}
#{stationType},
</if>
<if test="null != operatorIdEvcs and '' != operatorIdEvcs">
#{operatorIdEvcs}
</if>
</trim>
</insert>

View File

@ -100,6 +100,21 @@ public class XhpcChargingStation extends BaseEntity {
@Excel(name = "温馨提示说明")
private String reminderInstructions;
/**
* 对接第三方平台及监管平台的operatorId
*/
private String operatorIdEvcs;
public String getOperatorIdEvcs() {
return operatorIdEvcs;
}
public void setOperatorIdEvcs(String operatorIdEvcs) {
this.operatorIdEvcs = operatorIdEvcs;
}
public void setChargingStationId(Long chargingStationId)
{
this.chargingStationId = chargingStationId;