select checkId, checkMan, stockNo, stockName, checkDate, cancelFlag, endFlag, endDate, comfirmFlag, itemClass, remark, spare1, spare2, spare3, spare4, spare5, spare6 from check_head
insert into check_head
checkId,
checkMan,
stockNo,
stockName,
checkDate,
cancelFlag,
endFlag,
endDate,
comfirmFlag,
itemClass,
remark,
spare1,
spare2,
spare3,
spare4,
spare5,
spare6,
#{checkId},
#{checkMan},
#{stockNo},
#{stockName},
#{checkDate},
#{cancelFlag},
#{endFlag},
#{endDate},
#{comfirmFlag},
#{itemClass},
#{remark},
#{spare1},
#{spare2},
#{spare3},
#{spare4},
#{spare5},
#{spare6},
update check_head
checkMan = #{checkMan},
stockNo = #{stockNo},
stockName = #{stockName},
checkDate = #{checkDate},
cancelFlag = #{cancelFlag},
endFlag = #{endFlag},
endDate = #{endDate},
comfirmFlag = #{comfirmFlag},
itemClass = #{itemClass},
remark = #{remark},
spare1 = #{spare1},
spare2 = #{spare2},
spare3 = #{spare3},
spare4 = #{spare4},
spare5 = #{spare5},
spare6 = #{spare6},
where checkId = #{checkId}
delete from check_head where checkId = #{checkId}
delete from check_head where checkId in
#{checkId}