uid, real_name, id_card_no, id_card_front, id_card_opposite, id_card_handheld, phone,
audit_status, create_date, update_date, admin_id, is_first
delete from user_real_name
where uid = #{uid,jdbcType=BIGINT}
insert into user_real_name (uid, real_name, id_card_no,
id_card_front, id_card_opposite, id_card_handheld,
phone, audit_status, create_date,
update_date, admin_id, is_first
)
values (#{uid,jdbcType=BIGINT}, #{realName,jdbcType=VARCHAR}, #{idCardNo,jdbcType=VARCHAR},
#{idCardFront,jdbcType=VARCHAR}, #{idCardOpposite,jdbcType=VARCHAR}, #{idCardHandheld,jdbcType=VARCHAR},
#{phone,jdbcType=VARCHAR}, #{auditStatus,jdbcType=BIT}, #{createDate,jdbcType=TIMESTAMP},
#{updateDate,jdbcType=TIMESTAMP}, #{adminId,jdbcType=INTEGER}, #{isFirst,jdbcType=BIT}
)
insert into user_real_name
uid,
real_name,
id_card_no,
id_card_front,
id_card_opposite,
id_card_handheld,
phone,
audit_status,
create_date,
update_date,
admin_id,
is_first,
#{uid,jdbcType=BIGINT},
#{realName,jdbcType=VARCHAR},
#{idCardNo,jdbcType=VARCHAR},
#{idCardFront,jdbcType=VARCHAR},
#{idCardOpposite,jdbcType=VARCHAR},
#{idCardHandheld,jdbcType=VARCHAR},
#{phone,jdbcType=VARCHAR},
#{auditStatus,jdbcType=BIT},
#{createDate,jdbcType=TIMESTAMP},
#{updateDate,jdbcType=TIMESTAMP},
#{adminId,jdbcType=INTEGER},
#{isFirst,jdbcType=BIT},
update user_real_name
real_name = #{realName,jdbcType=VARCHAR},
id_card_no = #{idCardNo,jdbcType=VARCHAR},
id_card_front = #{idCardFront,jdbcType=VARCHAR},
id_card_opposite = #{idCardOpposite,jdbcType=VARCHAR},
id_card_handheld = #{idCardHandheld,jdbcType=VARCHAR},
phone = #{phone,jdbcType=VARCHAR},
audit_status = #{auditStatus,jdbcType=BIT},
create_date = #{createDate,jdbcType=TIMESTAMP},
update_date = #{updateDate,jdbcType=TIMESTAMP},
admin_id = #{adminId,jdbcType=INTEGER},
is_first = #{isFirst,jdbcType=BIT},
where uid = #{uid,jdbcType=BIGINT}
update user_real_name
set real_name = #{realName,jdbcType=VARCHAR},
id_card_no = #{idCardNo,jdbcType=VARCHAR},
id_card_front = #{idCardFront,jdbcType=VARCHAR},
id_card_opposite = #{idCardOpposite,jdbcType=VARCHAR},
id_card_handheld = #{idCardHandheld,jdbcType=VARCHAR},
phone = #{phone,jdbcType=VARCHAR},
audit_status = #{auditStatus,jdbcType=BIT},
create_date = #{createDate,jdbcType=TIMESTAMP},
update_date = #{updateDate,jdbcType=TIMESTAMP},
admin_id = #{adminId,jdbcType=INTEGER},
is_first = #{isFirst,jdbcType=BIT}
where uid = #{uid,jdbcType=BIGINT}