新增 后管设置桩对应第三方平台编号页面

This commit is contained in:
Lemon
2024-03-11 16:07:20 +08:00
parent c73bc074cd
commit 0cec8f18ce
9 changed files with 244 additions and 4 deletions

View File

@@ -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>