insert into sys_functional_distribution(dept_id, company_id,clause_num,choose_lab,create_by,create_time) values
(#{item.deptId},#{item.companyId},#{item.clauseNum},#{item.chooseLab},#{item.createBy},#{item.createTime})
update sys_functional_distribution
choose_lab = #{item.chooseLab},
update_by = #{item.updateBy},
update_time = #{item.updateTime},
where dept_id = #{item.deptId} and company_id = #{item.companyId} and clause_num = #{item.clauseNum}
delete from sys_functional_distribution where company_id = #{companyId}