mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
新增 后管设置桩对应第三方平台编号页面
This commit is contained in:
@@ -87,4 +87,25 @@
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
<select id="getRelationVOList" resultType="com.jsowell.pile.vo.web.ThirdPartySnRelationVO">
|
||||
SELECT
|
||||
pile_sn AS pileSn,
|
||||
thirdparty_type AS thirdpartyType,
|
||||
thirdparty_pile_sn AS thirdPartySn
|
||||
FROM
|
||||
thirdparty_sn_relation
|
||||
where del_flag = '0'
|
||||
<if test="dto.pileSn != null and dto.pileSn != ''">
|
||||
and pile_sn = #{dto.pileSn,jdbcType=VARCHAR}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<update id="updateThirdPartySnRelation">
|
||||
UPDATE thirdparty_sn_relation
|
||||
SET thirdparty_pile_sn = #{dto.thirdPartySn,jdbcType=VARCHAR}
|
||||
WHERE
|
||||
pile_sn = #{dto.pileSn,jdbcType=VARCHAR}
|
||||
AND thirdparty_type = #{dto.thirdPartyType,jdbcType=VARCHAR}
|
||||
</update>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user