select id, sys_dept_id, create_by, create_time, update_by, update_time, is_del, year, plan, target_signing_num, target_contract_amount, target_arrival_amount, target_investment_num from bm_dept_Plan
insert into bm_dept_plan
sys_dept_id,
create_by,
create_time,
update_by,
update_time,
is_del,
year,
plan,
target_signing_num,
target_contract_amount,
target_arrival_amount,
target_investment_num,
#{sysDeptId},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{isDel},
#{year},
#{plan},
#{targetSigningNum},
#{targetContractAmount},
#{targetArrivalAmount},
#{targetInvestmentNum},
update bm_dept_plan
sys_dept_id = #{sysDeptId},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
is_del = #{isDel},
year = #{year},
plan = #{plan},
target_signing_num = #{targetSigningNum},
target_contract_amount = #{targetContractAmount},
target_arrival_amount = #{targetArrivalAmount},
target_investment_num = #{targetInvestmentNum},
where id = #{id}
delete from bm_dept_plan where id = #{id}
delete from bm_dept_plan where id in
#{id}