select id,
company_name,
dept_id,
address,
legal,
phone,
enterprise_code,
business_license,
create_time,
create_by,
update_time,
update_by,
remark
from zdy_base_company
insert into zdy_base_company
company_name,
address,
legal,
phone,
enterprise_code,
business_license,
create_time,
create_by,
update_time,
update_by,
remark,
dept_id,
#{companyName},
#{address},
#{legal},
#{phone},
#{enterpriseCode},
#{businessLicense},
#{createTime},
#{createBy},
#{updateTime},
#{updateBy},
#{remark},
#{deptId},
update zdy_base_company
company_name =
#{companyName},
address =
#{address},
legal =
#{legal},
phone =
#{phone},
enterprise_code =
#{enterpriseCode},
business_license =
#{businessLicense},
create_time =
#{createTime},
create_by =
#{createBy},
update_time =
#{updateTime},
update_by =
#{updateBy},
remark =
#{remark},
dept_id =
#{deptId},
where id = #{id}
delete
from zdy_base_company
where id = #{id}
delete from zdy_base_company where id in
#{id}
update zdy_base_company
set company_name = #{companyName}
where dept_id = #{deptId}