INSERT INTO gen_check( check_id, enterprise_id, check_type, task_check_id, is_coordination, is_complete, rectification_type, immediately_change_type, rectification_days, summary, check_lng, check_lat, creator, gmt_create, modifier, gmt_modified, is_delete ) VALUES( #{checkId}, #{enterpriseId}, #{checkType}, #{taskCheckId}, #{isCoordination}, #{isComplete}, #{rectificationType}, #{immediatelyChangeType}, #{rectificationDays}, #{summary}, #{checkLng}, #{checkLat}, #{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}, task_check_id = #{taskCheckId}, is_coordination = #{isCoordination}, is_complete = #{isComplete}, rectification_type = #{rectificationType}, immediately_change_type = #{immediatelyChangeType}, rectification_days = #{rectificationDays}, summary = #{summary}, check_lng = #{checkLng}, check_lat = #{checkLat}, modifier = #{modifier}, gmt_modified = #{gmtModified} WHERE check_id = #{checkId}