select id, form_code, form_template, form_need_num, faild_num, pass_num, create_time, wlCode, special, vendor, batch ,sn_prefix,other,spare1,spare2,spare3,spare4 from workform_head insert into workform_head form_code, form_template, form_need_num, faild_num, pass_num, create_time, wlCode, special, vendor, batch, sn_Prefix, other, #{formCode}, #{formTemplate}, #{formNeedNum}, #{faildNum}, #{passNum}, #{createTime}, #{wlCode}, #{special}, #{vendor}, #{batch}, #{snPrefix}, #{other}, update workform_head form_code = #{formCode}, form_template = #{formTemplate}, form_need_num = #{formNeedNum}, faild_num = #{faildNum}, pass_num = #{passNum}, create_time = #{createTime}, wlCode = #{wlCode}, special = #{special}, vendor = #{vendor}, batch = #{batch}, sn_Prefix = #{snPrefix}, other = #{other}, where form_code = #{formCode} delete from workform_head where id = #{id} delete from workform_head where id in #{id}