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