This commit is contained in:
wxp01309236
2023-06-21 15:27:34 +08:00
parent 8d46abeab0
commit fa410088f7
10 changed files with 67 additions and 19 deletions

View File

@@ -203,6 +203,18 @@
where id = #{record.id}
</update>
<update id="updateByPrimaryKey">
update hy_partner_base_info
set
nation = #{record.nation},
birthdate = #{record.birthdate},
id_card = #{record.idCard},
id_card_photo_front = #{record.idCardPhotoFront},
id_card_photo_black = #{record.idCardPhotoBlack},
live_address = #{record.liveAddress}
where id = #{record.id}
</update>
<update id="updateByPartnerId">
update hy_partner_base_info
@@ -231,9 +243,9 @@
where partner_line_id = #{partnerLineId}
</select>
<select id="getLineIdByIdCard" resultType="java.lang.Long">
<select id="getByIdCard" resultMap="BaseResultMap">
select
partner_line_id
<include refid="Base_Column_List"></include>
from hy_partner_base_info
where id_card = #{idCard}
</select>