INSERT INTO gen_check(
check_id,
enterprise_id,
check_type,
is_coordination,
is_complete,
creator,
gmt_create,
modifier,
gmt_modified,
is_delete
) VALUES(
#{checkId},
#{enterpriseId},
#{checkType},
#{isCoordination},
#{isComplete},
#{creator},
#{gmtCreate},
#{modifier},
#{gmtModified},
#{isDelete}
)
UPDATE
gen_check
SET
is_delete = 1,
modifier = #{modifier},
gmt_modified = #{gmtModified}
WHERE
check_id IN
#{checkIds[${index}]}
UPDATE
gen_check
SET
enterprise_id = #{enterpriseId},
check_type = #{checkType},
is_coordination = #{isCoordination},
is_complete = #{isComplete},
modifier = #{modifier},
gmt_modified = #{gmtModified}
WHERE
check_id = #{checkId}