insert into sys_information(creditcode, enterprisename, representative, establishtime, registeredcapital,
organizationcode, registrationnumber, identificationnumber, enterprises, address,
business, region, registration, industry, departmentid, stats, jurisdiction,
representativecell, contacts, contactscell)
values (#{information.creditcode}, #{information.enterprisename}, #{information.representative},
#{information.establishtime}, #{information.registeredcapital},
#{information.organizationcode}, #{information.registrationnumber},
#{information.identificationnumber}, #{information.enterprises}, #{information.address},
#{information.business},
#{information.region}, #{information.registration}, #{information.industry},
#{information.departmentid}, #{information.stats}, #{information.jurisdiction},
#{information.representativecell}, #{information.contacts}, #{information.contactscell})
delete from sys_information
where departmentid = #{departmentid}
delete
from sys_shareholder
where dept_id = #{deptId}
delete
from sys_member
where dept_id = #{deptId}
update blade_dept set is_deleted = 1
where id = #{id}
update blade_user set is_deleted = 1 where dept_id = #{deptId}