update 修改充电桩信息

This commit is contained in:
Guoqs
2024-06-27 14:44:46 +08:00
parent 04001c5b54
commit 2dae775247
2 changed files with 4 additions and 0 deletions

View File

@@ -37,6 +37,9 @@ public class ReplaceMerchantStationDTO {
// 枪口数量
private Integer connectorNum;
// 经营类型1-运营桩2-个人桩)
private String chargerPileType;
private String updateBy;
private Date updateTime;
}

View File

@@ -231,6 +231,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<trim prefix="SET" suffixOverrides=",">
<if test="merchantId != null">merchant_id = #{merchantId},</if>
<if test="stationId != null">station_id = #{stationId},</if>
<if test="chargerPileType != null">business_type = #{chargerPileType,jdbcType=VARCHAR},</if>
<if test="modelId != null">model_id = #{modelId},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>