select id, customer_code, short_name, customer_name_en, customer_full_name, customer_type, user_type, company, dept_id, mobile, phone, avatar, sex, invitation_info, login_ip, login_date, nick_name, union_id, openid, monthly_pay_code, user_name, password, owner_site, site_code, balance_mode, linkman, fax, address, email, country, province, city, district, town, send_country, send_province, send_district, send_town, post_code, status, real_name, id_no, payee, salesmen, create_man, create_site, create_site_code, modify_site_code, bl_open_oms, bl_sms, operation_employee, operation_employee_code, create_man_code, modifier, modifier_code, modify_site, order_num, remark, del_flag, create_by, create_time, update_by, update_time from emis_customer_user
insert into emis_customer_user
id,
customer_code,
short_name,
customer_name_en,
customer_full_name,
customer_type,
user_type,
company,
dept_id,
mobile,
phone,
avatar,
sex,
invitation_info,
login_ip,
login_date,
nick_name,
union_id,
openid,
monthly_pay_code,
user_name,
password,
owner_site,
site_code,
balance_mode,
linkman,
fax,
address,
email,
country,
province,
city,
district,
town,
send_country,
send_province,
send_district,
send_town,
post_code,
status,
real_name,
id_no,
payee,
salesmen,
create_man,
create_site,
create_site_code,
modify_site_code,
bl_open_oms,
bl_sms,
operation_employee,
operation_employee_code,
create_man_code,
modifier,
modifier_code,
modify_site,
order_num,
remark,
del_flag,
create_by,
create_time,
update_by,
update_time,
#{id},
#{customerCode},
#{shortName},
#{customerNameEn},
#{customerFullName},
#{customerType},
#{userType},
#{company},
#{deptId},
#{mobile},
#{phone},
#{avatar},
#{sex},
#{invitationInfo},
#{loginIp},
#{loginDate},
#{nickName},
#{unionId},
#{openid},
#{monthlyPayCode},
#{userName},
#{password},
#{ownerSite},
#{siteCode},
#{balanceMode},
#{linkman},
#{fax},
#{address},
#{email},
#{country},
#{province},
#{city},
#{district},
#{town},
#{sendCountry},
#{sendProvince},
#{sendDistrict},
#{sendTown},
#{postCode},
#{status},
#{realName},
#{idNo},
#{payee},
#{salesmen},
#{createMan},
#{createSite},
#{createSiteCode},
#{modifySiteCode},
#{blOpenOms},
#{blSms},
#{operationEmployee},
#{operationEmployeeCode},
#{createManCode},
#{modifier},
#{modifierCode},
#{modifySite},
#{orderNum},
#{remark},
#{delFlag},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
update emis_customer_user
customer_code = #{customerCode},
short_name = #{shortName},
customer_name_en = #{customerNameEn},
customer_full_name = #{customerFullName},
customer_type = #{customerType},
user_type = #{userType},
company = #{company},
dept_id = #{deptId},
mobile = #{mobile},
phone = #{phone},
avatar = #{avatar},
sex = #{sex},
invitation_info = #{invitationInfo},
login_ip = #{loginIp},
login_date = #{loginDate},
nick_name = #{nickName},
union_id = #{unionId},
openid = #{openid},
monthly_pay_code = #{monthlyPayCode},
user_name = #{userName},
password = #{password},
owner_site = #{ownerSite},
site_code = #{siteCode},
balance_mode = #{balanceMode},
linkman = #{linkman},
fax = #{fax},
address = #{address},
email = #{email},
country = #{country},
province = #{province},
city = #{city},
district = #{district},
town = #{town},
send_country = #{sendCountry},
send_province = #{sendProvince},
send_district = #{sendDistrict},
send_town = #{sendTown},
post_code = #{postCode},
status = #{status},
real_name = #{realName},
id_no = #{idNo},
payee = #{payee},
salesmen = #{salesmen},
create_man = #{createMan},
create_site = #{createSite},
create_site_code = #{createSiteCode},
modify_site_code = #{modifySiteCode},
bl_open_oms = #{blOpenOms},
bl_sms = #{blSms},
operation_employee = #{operationEmployee},
operation_employee_code = #{operationEmployeeCode},
create_man_code = #{createManCode},
modifier = #{modifier},
modifier_code = #{modifierCode},
modify_site = #{modifySite},
order_num = #{orderNum},
remark = #{remark},
del_flag = #{delFlag},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
where id = #{id}
delete from emis_customer_user where id = #{id}
delete from emis_customer_user where id in
#{id}