select org_id,
org_pid,
org_code,
org_cn_name,
org_en_name,
spell,
wb,
org_type,
principal,
phone,
contact_person,
contact_phone,
email,
postal_code,
official_web,
plait_bed,
open_bed,
build_date,
peofile,
legal_person,
medical_depart,
issue_auth,
issue_date,
address,
addr_provice_code,
addr_provice_desc,
uscc,
level,
jg_period_start,
jg_period_end,
mita,
hosp_manager_type,
hosp_type,
create_by,
create_time,
order_num,
effective,
wbm,
jg_multi_area,
jg_dept_area,
jg_mc_type,
imgBase64,
update_by,
update_time,
remark,
deleted
from dict_org
insert into dict_org
org_id,
org_pid,
org_code,
org_cn_name,
org_en_name,
spell,
wb,
org_type,
principal,
phone,
contact_person,
contact_phone,
email,
postal_code,
official_web,
plait_bed,
open_bed,
build_date,
peofile,
legal_person,
medical_depart,
issue_auth,
issue_date,
address,
addr_provice_code,
addr_provice_desc,
uscc,
level,
jg_period_start,
jg_period_end,
mita,
hosp_manager_type,
hosp_type,
create_by,
create_time,
order_num,
effective,
wbm,
jg_multi_area,
jg_dept_area,
jg_mc_type,
imgBase64,
update_by,
update_time,
remark,
deleted,
#{orgId},
#{orgPid},
#{orgCode},
#{orgCnName},
#{orgEnName},
#{spell},
#{wb},
#{orgType},
#{principal},
#{phone},
#{contactPerson},
#{contactPhone},
#{email},
#{postalCode},
#{officialWeb},
#{plaitBed},
#{openBed},
#{buildDate},
#{peofile},
#{legalPerson},
#{medicalDepart},
#{issueAuth},
#{issueDate},
#{address},
#{addrProviceCode},
#{addrProviceDesc},
#{uscc},
#{level},
#{jgPeriodStart},
#{jgPeriodEnd},
#{mita},
#{hospManagerType},
#{hospType},
#{createBy},
#{createTime},
#{orderNum},
#{effective},
#{wbm},
#{jgMultiArea},
#{jgDeptArea},
#{jgMcType},
#{imgbase64},
#{updateBy},
#{updateTime},
#{remark},
#{deleted},
update dict_org
org_pid = #{orgPid},
org_code = #{orgCode},
org_cn_name = #{orgCnName},
org_en_name = #{orgEnName},
spell = #{spell},
wb = #{wb},
org_type = #{orgType},
principal = #{principal},
phone = #{phone},
contact_person = #{contactPerson},
contact_phone = #{contactPhone},
email = #{email},
postal_code = #{postalCode},
official_web = #{officialWeb},
plait_bed = #{plaitBed},
open_bed = #{openBed},
build_date = #{buildDate},
peofile = #{peofile},
legal_person = #{legalPerson},
medical_depart = #{medicalDepart},
issue_auth = #{issueAuth},
issue_date = #{issueDate},
address = #{address},
addr_provice_code = #{addrProviceCode},
addr_provice_desc = #{addrProviceDesc},
uscc = #{uscc},
level = #{level},
jg_period_start = #{jgPeriodStart},
jg_period_end = #{jgPeriodEnd},
mita = #{mita},
hosp_manager_type = #{hospManagerType},
hosp_type = #{hospType},
create_by = #{createBy},
create_time = #{createTime},
order_num = #{orderNum},
effective = #{effective},
wbm = #{wbm},
jg_multi_area = #{jgMultiArea},
jg_dept_area = #{jgDeptArea},
jg_mc_type = #{jgMcType},
imgBase64 = #{imgbase64},
update_by = #{updateBy},
update_time = #{updateTime},
remark = #{remark},
deleted = #{deleted},
where org_id = #{orgId}
delete
from dict_org
where org_id = #{orgId}
delete from dict_org where org_id in
#{orgId}