select drug_manufacturer_id,
cn_name,
en_name,
tax_number,
legal_person,
code,
contact_person,
contact_phone,
type_of_enterprise,
areaId,
area_name,
principal,
mailing_address,
url,
email,
bank_account,
fax_number,
register_address,
gmp_no,
gmpIssue_date,
business_license_number,
gmp_deadline_date,
gmp_range,
gmp_delay_range,
gmp_delay_date,
gmp_photo,
remark,
create_by,
create_time,
update_by,
update_time,
order_num,
effective,
spell,
valid_time,
wbm,
deleted,
count_num,
dwlx,
ssdq,
lsgx,
jjlx,
qygm,
hyfl,
fxpg
from dict_comp
insert into dict_comp
drug_manufacturer_id,
cn_name,
en_name,
tax_number,
legal_person,
code,
contact_person,
contact_phone,
type_of_enterprise,
areaId,
area_name,
principal,
mailing_address,
url,
email,
bank_account,
count_num,
fax_number,
register_address,
gmp_no,
gmpIssue_date,
business_license_number,
gmp_deadline_date,
gmp_range,
gmp_delay_range,
gmp_delay_date,
gmp_photo,
remark,
create_by,
create_time,
update_by,
update_time,
order_num,
effective,
spell,
valid_time,
wbm,
deleted,
#{drugManufacturerId},
#{cnName},
#{enName},
#{taxNumber},
#{legalPerson},
#{code},
#{contactPerson},
#{contactPhone},
#{typeOfEnterprise},
#{areaid},
#{areaName},
#{principal},
#{mailingAddress},
#{url},
#{email},
#{bankAccount},
#{countNum},
#{faxNumber},
#{registerAddress},
#{gmpNo},
#{gmpissueDate},
#{businessLicenseNumber},
#{gmpDeadlineDate},
#{gmpRange},
#{gmpDelayRange},
#{gmpDelayDate},
#{gmpPhoto},
#{remark},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{orderNum},
#{effective},
#{spell},
#{validTime},
#{wbm},
#{deleted},
update dict_comp
cn_name = #{cnName},
en_name = #{enName},
tax_number = #{taxNumber},
legal_person = #{legalPerson},
code = #{code},
contact_person = #{contactPerson},
contact_phone = #{contactPhone},
type_of_enterprise = #{typeOfEnterprise},
areaId = #{areaid},
area_name = #{areaName},
principal = #{principal},
mailing_address = #{mailingAddress},
url = #{url},
email = #{email},
bank_account = #{bankAccount},
count_num = #{countNum},
fax_number = #{faxNumber},
register_address = #{registerAddress},
gmp_no = #{gmpNo},
gmpIssue_date = #{gmpissueDate},
business_license_number =
#{businessLicenseNumber},
gmp_deadline_date = #{gmpDeadlineDate},
gmp_range = #{gmpRange},
gmp_delay_range = #{gmpDelayRange},
gmp_delay_date = #{gmpDelayDate},
gmp_photo = #{gmpPhoto},
remark = #{remark},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
order_num = #{orderNum},
effective = #{effective},
spell = #{spell},
valid_time = #{validTime},
wbm = #{wbm},
deleted = #{deleted},
dwlx = #{dwlx},
where drug_manufacturer_id = #{drugManufacturerId}
delete
from dict_comp
where drug_manufacturer_id = #{drugManufacturerId}
delete from dict_comp where drug_manufacturer_id in
#{drugManufacturerId}