id, uid, username, sex, date_of_birth_year, date_of_birth_month, id_number, positive_id_url,
opposite_id_url, aft_username, province, city, area, contact_mobile, bank_name, bank_account,
bank_card_number, amount_money, audit_status, process , wrong_count, payment_date,
expert, celebrity
delete from user_identity
where id = #{id,jdbcType=VARCHAR}
insert into user_identity (id, uid, username,
sex, date_of_birth_year, date_of_birth_month,
id_number, positive_id_url, opposite_id_url,
aft_username, province, city,
area, contact_mobile, bank_name,
bank_account, bank_card_number, amount_money,
audit_status, process, wrong_count, payment_date,
expert, celebrity)
values (#{id,jdbcType=VARCHAR}, #{uid,jdbcType=VARCHAR}, #{username,jdbcType=VARCHAR},
#{sex,jdbcType=VARCHAR}, #{dateOfBirthYear,jdbcType=VARCHAR}, #{dateOfBirthMonth,jdbcType=VARCHAR},
#{idNumber,jdbcType=VARCHAR}, #{positiveIdUrl,jdbcType=VARCHAR}, #{oppositeIdUrl,jdbcType=VARCHAR},
#{aftUsername,jdbcType=VARCHAR}, #{province,jdbcType=INTEGER}, #{city,jdbcType=INTEGER},
#{area,jdbcType=INTEGER}, #{contactMobile,jdbcType=VARCHAR}, #{bankName,jdbcType=VARCHAR},
#{bankAccount,jdbcType=VARCHAR}, #{bankCardNumber,jdbcType=VARCHAR}, #{amountMoney,jdbcType=DECIMAL},
#{auditStatus,jdbcType=INTEGER}, #{process,jdbcType=INTEGER}, #{wrongCount,jdbcType=INTEGER}, #{paymentDate,jdbcType=TIMESTAMP},
#{expert,jdbcType=INTEGER}, #{celebrity,jdbcType=INTEGER})
insert into user_identity
id,
uid,
username,
sex,
date_of_birth_year,
date_of_birth_month,
id_number,
positive_id_url,
opposite_id_url,
aft_username,
province,
city,
area,
contact_mobile,
bank_name,
bank_account,
bank_card_number,
amount_money,
audit_status,
process,
wrong_count,
payment_date,
expert,
celebrity,
#{id,jdbcType=VARCHAR},
#{uid,jdbcType=VARCHAR},
#{username,jdbcType=VARCHAR},
#{sex,jdbcType=VARCHAR},
#{dateOfBirthYear,jdbcType=VARCHAR},
#{dateOfBirthMonth,jdbcType=VARCHAR},
#{idNumber,jdbcType=VARCHAR},
#{positiveIdUrl,jdbcType=VARCHAR},
#{oppositeIdUrl,jdbcType=VARCHAR},
#{aftUsername,jdbcType=VARCHAR},
#{province,jdbcType=INTEGER},
#{city,jdbcType=INTEGER},
#{area,jdbcType=INTEGER},
#{contactMobile,jdbcType=VARCHAR},
#{bankName,jdbcType=VARCHAR},
#{bankAccount,jdbcType=VARCHAR},
#{bankCardNumber,jdbcType=VARCHAR},
#{amountMoney,jdbcType=DECIMAL},
#{auditStatus,jdbcType=INTEGER},
#{process,jdbcType=INTEGER},
#{wrongCount,jdbcType=INTEGER},
#{paymentDate,jdbcType=TIMESTAMP},
#{expert,jdbcType=INTEGER},
#{celebrity,jdbcType=INTEGER},
update user_identity
uid = #{uid,jdbcType=VARCHAR},
username = #{username,jdbcType=VARCHAR},
sex = #{sex,jdbcType=VARCHAR},
date_of_birth_year = #{dateOfBirthYear,jdbcType=VARCHAR},
date_of_birth_month = #{dateOfBirthMonth,jdbcType=VARCHAR},
id_number = #{idNumber,jdbcType=VARCHAR},
positive_id_url = #{positiveIdUrl,jdbcType=VARCHAR},
opposite_id_url = #{oppositeIdUrl,jdbcType=VARCHAR},
aft_username = #{aftUsername,jdbcType=VARCHAR},
province = #{province,jdbcType=INTEGER},
city = #{city,jdbcType=INTEGER},
area = #{area,jdbcType=INTEGER},
contact_mobile = #{contactMobile,jdbcType=VARCHAR},
bank_name = #{bankName,jdbcType=VARCHAR},
bank_account = #{bankAccount,jdbcType=VARCHAR},
bank_card_number = #{bankCardNumber,jdbcType=VARCHAR},
amount_money = #{amountMoney,jdbcType=DECIMAL},
audit_status = #{auditStatus,jdbcType=INTEGER},
process = #{process,jdbcType=INTEGER},
wrong_count = #{wrongCount,jdbcType=INTEGER},
payment_date = #{paymentDate,jdbcType=TIMESTAMP},
expert = #{expert,jdbcType=INTEGER},
celebrity = #{celebrity,jdbcType=INTEGER},
where id = #{id,jdbcType=VARCHAR}
update user_identity
set uid = #{uid,jdbcType=VARCHAR},
username = #{username,jdbcType=VARCHAR},
sex = #{sex,jdbcType=VARCHAR},
date_of_birth_year = #{dateOfBirthYear,jdbcType=VARCHAR},
date_of_birth_month = #{dateOfBirthMonth,jdbcType=VARCHAR},
id_number = #{idNumber,jdbcType=VARCHAR},
positive_id_url = #{positiveIdUrl,jdbcType=VARCHAR},
opposite_id_url = #{oppositeIdUrl,jdbcType=VARCHAR},
aft_username = #{aftUsername,jdbcType=VARCHAR},
province = #{province,jdbcType=INTEGER},
city = #{city,jdbcType=INTEGER},
area = #{area,jdbcType=INTEGER},
contact_mobile = #{contactMobile,jdbcType=VARCHAR},
bank_name = #{bankName,jdbcType=VARCHAR},
bank_account = #{bankAccount,jdbcType=VARCHAR},
bank_card_number = #{bankCardNumber,jdbcType=VARCHAR},
amount_money = #{amountMoney,jdbcType=DECIMAL},
audit_status = #{auditStatus,jdbcType=INTEGER},
process = #{process,jdbcType=INTEGER},
wrong_count = #{wrongCount,jdbcType=INTEGER},
payment_date = #{paymentDate,jdbcType=TIMESTAMP},
expert = #{expert,jdbcType=INTEGER},
celebrity = #{celebrity,jdbcType=INTEGER}
where id = #{id,jdbcType=VARCHAR}