select cus_id,
cus_name,
cus_sex,
cus_brithday,
cus_addr,
addr,
cus_phone,
cus_password,
cus_postCode,
cus_email,
index_card,
cus_national,
cus_marry_status,
cus_idcard,
cus_introduce,
cus_number,
cus_isvip,
create_by,
create_time,
update_by,
update_time,
deleted,
age,
id_type,
age_unit,
career,
dw_phone,
pym,dict_comp_id,comp_name,his_jzkh
from tj_customer
insert into tj_customer
cus_name,
cus_sex,
cus_brithday,
cus_addr,
addr,
cus_phone,
cus_password,
cus_postCode,
cus_email,
index_card,
cus_national,
cus_marry_status,
cus_idcard,
cus_introduce,
cus_number,
cus_isvip,
create_by,
create_time,
update_by,
update_time,
deleted,
age,
id_type,
age_unit,
career,
dw_phone,
pym,
dict_comp_id,
comp_name,
his_jzkh,
#{cusName},
#{cusSex},
#{cusBrithday},
#{cusAddr},
#{addr},
#{cusPhone},
#{cusPassword},
#{cusPostcode},
#{cusEmail},
#{indexCard},
#{cusNational},
#{cusMarryStatus},
#{cusIdcard},
#{cusIntroduce},
#{cusNumber},
#{cusIsvip},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{deleted},
#{age},
#{idType},
#{ageUnit},
#{career},
#{dwPhone},
#{pym},
#{dictCompId},
#{compName},
#{hisJzkh},
update tj_customer
cus_name = #{cusName},
cus_sex = #{cusSex},
cus_brithday = #{cusBrithday},
cus_addr = #{cusAddr},
addr = #{addr},
cus_phone = #{cusPhone},
cus_password = #{cusPassword},
cus_postCode = #{cusPostcode},
cus_email = #{cusEmail},
index_card = #{indexCard},
cus_national = #{cusNational},
cus_marry_status = #{cusMarryStatus},
cus_idcard = #{cusIdcard},
cus_introduce = #{cusIntroduce},
cus_number = #{cusNumber},
cus_isvip = #{cusIsvip},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
deleted = #{deleted},
age = #{age},
id_type = #{idType},
age_unit = #{ageUnit},
career = #{career},
dw_phone = #{dwPhone},
pym = #{pym},
dict_comp_id = #{dictCompId},
comp_name = #{compName},
his_jzkh = #{hisJzkh},
where cus_id = #{cusId}
delete
from tj_customer
where cus_id = #{cusId}
delete from tj_customer where cus_id in
#{cusId}