select id, user_name, id_card, phone, address, user_type, contract_code, contract_sign_date, contract_term, new_contract_area, old_contract_area, survey_area, mu_fee_standard, annual_contract_fee, contract_count, contract_remark, user_remark, reserve1, reserve2, create_time, update_time from contract_user
insert into contract_user
user_name,
id_card,
phone,
address,
user_type,
contract_code,
contract_sign_date,
contract_term,
new_contract_area,
old_contract_area,
survey_area,
mu_fee_standard,
annual_contract_fee,
contract_count,
contract_remark,
user_remark,
reserve1,
reserve2,
create_time,
update_time,
#{userName},
#{idCard},
#{phone},
#{address},
#{userType},
#{contractCode},
#{contractSignDate},
#{contractTerm},
#{newContractArea},
#{oldContractArea},
#{surveyArea},
#{muFeeStandard},
#{annualContractFee},
#{contractCount},
#{contractRemark},
#{userRemark},
#{reserve1},
#{reserve2},
#{createTime},
#{updateTime},
update contract_user
user_name = #{userName},
id_card = #{idCard},
phone = #{phone},
address = #{address},
user_type = #{userType},
contract_code = #{contractCode},
contract_sign_date = #{contractSignDate},
contract_term = #{contractTerm},
new_contract_area = #{newContractArea},
old_contract_area = #{oldContractArea},
survey_area = #{surveyArea},
mu_fee_standard = #{muFeeStandard},
annual_contract_fee = #{annualContractFee},
contract_count = #{contractCount},
contract_remark = #{contractRemark},
user_remark = #{userRemark},
reserve1 = #{reserve1},
reserve2 = #{reserve2},
create_time = #{createTime},
update_time = #{updateTime},
where id = #{id}
delete from contract_user where id = #{id}
delete from contract_user where id in
#{id}