select id, customer_no, customer_group_no, customer_name, simple_name, useable, remark, business_department, salesman, mnemonic_code, type, taxpayer_registration_number, organization, sup_customer, retail_investor, country, time_zone, data_format, contact_name, shipment, tax_category from bas_customer
insert into bas_customer
id,
customer_no,
customer_group_no,
customer_name,
simple_name,
useable,
remark,
business_department,
salesman,
mnemonic_code,
type,
taxpayer_registration_number,
organization,
sup_customer,
retail_investor,
country,
time_zone,
data_format,
contact_name,
shipment,
tax_category,
#{id},
#{customerNo},
#{customerGroupNo},
#{customerName},
#{simpleName},
#{useable},
#{remark},
#{businessDepartment},
#{salesman},
#{mnemonicCode},
#{type},
#{taxpayerRegistrationNumber},
#{organization},
#{supCustomer},
#{retailInvestor},
#{country},
#{timeZone},
#{dataFormat},
#{contactName},
#{shipment},
#{taxCategory},
update bas_customer
customer_no = #{customerNo},
customer_group_no = #{customerGroupNo},
customer_name = #{customerName},
simple_name = #{simpleName},
useable = #{useable},
remark = #{remark},
business_department = #{businessDepartment},
salesman = #{salesman},
mnemonic_code = #{mnemonicCode},
type = #{type},
taxpayer_registration_number = #{taxpayerRegistrationNumber},
organization = #{organization},
sup_customer = #{supCustomer},
retail_investor = #{retailInvestor},
country = #{country},
time_zone = #{timeZone},
data_format = #{dataFormat},
contact_name = #{contactName},
shipment = #{shipment},
tax_category = #{taxCategory},
where id = #{id}
delete from bas_customer where id = #{id}
delete from bas_customer where id in
#{id}