update 移动充电桩到另一个站点 接口

This commit is contained in:
Lemon
2025-10-31 10:46:54 +08:00
parent 49e31d2794
commit c612662d3d

View File

@@ -477,7 +477,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
t1.station_id = #{stationId,jdbcType=VARCHAR}
</select>
<select id="movePile2AnotherStation" resultType="int">
<update id="movePile2AnotherStation">
update pile_basic_info
<trim prefix="SET" suffixOverrides=",">
<if test="newMerchantId != null">merchant_id = #{newMerchantId},</if>
@@ -495,5 +495,5 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<foreach collection="pileIdList" item="pileId" open="(" separator="," close=")">
#{pileId,jdbcType=BIGINT}
</foreach>
</select>
</update>
</mapper>