select id, company_id, company_name, dept_id, dept_name, detail ,start_time,end_time from t_contract
insert into t_contract
company_id,company_name,dept_id,dept_name,detail,start_time,end_time,#{companyId},#{companyName},#{deptId},#{deptName},#{detail},#{startTime},#{endTime},
update t_contract
company_id = #{companyId},company_name = #{companyName},dept_id = #{deptId},dept_name = #{deptName},detail = #{detail},start_time = #{startTime},end_time = #{endTime},
where id = #{id}
delete from t_contract where id = #{id}
delete from t_contract where id in
#{id}