增加字段 同步数据组合

This commit is contained in:
shuo.wang
2025-04-07 19:37:12 +08:00
parent 2a58242706
commit 26d11b7d17
20 changed files with 352 additions and 24 deletions

View File

@@ -36,6 +36,8 @@
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
<result property="createUser" column="create_user" jdbcType="VARCHAR"/>
<result property="updateUser" column="update_user" jdbcType="VARCHAR"/>
<result property="cShopName" column="c_shop_name" jdbcType="VARCHAR"/>
<result property="settlerBankBackPhotoUrl" column="settler_bank_back_photo_url" jdbcType="VARCHAR"/>
</resultMap>
<sql id="Base_Column_List">
@@ -47,6 +49,6 @@
settler_id_card_front,settler_id_card_reverse,settler_in_hand_front_picture,settler_in_hand_back_picture,settler_id_card_no,
settler_bank_number,settler_bank_mobile,settler_bank_name,
create_time,update_time,create_user,
update_user
update_user,c_shop_name,settler_bank_back_photo_url
</sql>
</mapper>

View File

@@ -427,6 +427,11 @@
inner join store_${eid} b on a.shop_code = b.store_num
where a.id = #{shopId}
</select>
<select id="getShopCodeList" resultType="java.lang.String">
select shop_code
from xfsg_shop_info
where deleted = 0 and line_id = #{lineId} and shop_code is not null
</select>
<update id="batchUpdate" parameterType="list">
<foreach collection="list" item="item" index="index" open="" close="" separator=";">
@@ -441,4 +446,7 @@
WHERE id = #{item.id}
</foreach>
</update>
<update id="updateShopCode">
update xfsg_shop_info set shop_code = #{shopCode} where id = #{shopId}
</update>
</mapper>