select id, cus_no, self_no, name, name_en, short_name, mnemonic_code, dept_code, company_code, used_ent_code, used_ent_name, calc_fee_type, ent_attribute, cus_level, industry, contract_no, first_contract_date, cooperation_end_date, apply_date, calc_weight_type, org_code, province, city, district, address, zip_code, contact, phone, mobile, tax, email, web_url, legal_person_name, legal_person_idno, registered_capital, currency, business_license_no, tax_no, organization_code, road_trans_license_no, main_business, cooperate_intention, approving_authority, approval_no, registration_date, contact1, phone1, status, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time from wms_customer
insert into wms_customer
id,
cus_no,
self_no,
name,
name_en,
short_name,
mnemonic_code,
dept_code,
company_code,
used_ent_code,
used_ent_name,
calc_fee_type,
ent_attribute,
cus_level,
industry,
contract_no,
first_contract_date,
cooperation_end_date,
apply_date,
calc_weight_type,
org_code,
province,
city,
district,
address,
zip_code,
contact,
phone,
mobile,
tax,
email,
web_url,
legal_person_name,
legal_person_idno,
registered_capital,
currency,
business_license_no,
tax_no,
organization_code,
road_trans_license_no,
main_business,
cooperate_intention,
approving_authority,
approval_no,
registration_date,
contact1,
phone1,
status,
remark,
tenant_id,
del_flag,
create_by,
create_time,
update_by,
update_time,
#{id},
#{cusNo},
#{selfNo},
#{name},
#{nameEn},
#{shortName},
#{mnemonicCode},
#{deptCode},
#{companyCode},
#{usedEntCode},
#{usedEntName},
#{calcFeeType},
#{entAttribute},
#{cusLevel},
#{industry},
#{contractNo},
#{firstContractDate},
#{cooperationEndDate},
#{applyDate},
#{calcWeightType},
#{orgCode},
#{province},
#{city},
#{district},
#{address},
#{zipCode},
#{contact},
#{phone},
#{mobile},
#{tax},
#{email},
#{webUrl},
#{legalPersonName},
#{legalPersonIdno},
#{registeredCapital},
#{currency},
#{businessLicenseNo},
#{taxNo},
#{organizationCode},
#{roadTransLicenseNo},
#{mainBusiness},
#{cooperateIntention},
#{approvingAuthority},
#{approvalNo},
#{registrationDate},
#{contact1},
#{phone1},
#{status},
#{remark},
#{tenantId},
#{delFlag},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
update wms_customer
cus_no = #{cusNo},
self_no = #{selfNo},
name = #{name},
name_en = #{nameEn},
short_name = #{shortName},
mnemonic_code = #{mnemonicCode},
dept_code = #{deptCode},
company_code = #{companyCode},
used_ent_code = #{usedEntCode},
used_ent_name = #{usedEntName},
calc_fee_type = #{calcFeeType},
ent_attribute = #{entAttribute},
cus_level = #{cusLevel},
industry = #{industry},
contract_no = #{contractNo},
first_contract_date = #{firstContractDate},
cooperation_end_date = #{cooperationEndDate},
apply_date = #{applyDate},
calc_weight_type = #{calcWeightType},
org_code = #{orgCode},
province = #{province},
city = #{city},
district = #{district},
address = #{address},
zip_code = #{zipCode},
contact = #{contact},
phone = #{phone},
mobile = #{mobile},
tax = #{tax},
email = #{email},
web_url = #{webUrl},
legal_person_name = #{legalPersonName},
legal_person_idno = #{legalPersonIdno},
registered_capital = #{registeredCapital},
currency = #{currency},
business_license_no = #{businessLicenseNo},
tax_no = #{taxNo},
organization_code = #{organizationCode},
road_trans_license_no = #{roadTransLicenseNo},
main_business = #{mainBusiness},
cooperate_intention = #{cooperateIntention},
approving_authority = #{approvingAuthority},
approval_no = #{approvalNo},
registration_date = #{registrationDate},
contact1 = #{contact1},
phone1 = #{phone1},
status = #{status},
remark = #{remark},
tenant_id = #{tenantId},
del_flag = #{delFlag},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
where id = #{id}
delete from wms_customer where id = #{id}
delete from wms_customer where id in
#{id}