select id, project_id, dept_id, check_type, check_time, check_state, detection_result, detection_file, create_by, create_time, update_by, update_time, remark from sur_project_check_detection insert into sur_project_check_detection project_id, dept_id, check_type, check_time, check_state, detection_result, detection_file, create_by, create_time, update_by, update_time, remark, #{projectId}, #{deptId}, #{checkType}, #{checkTime}, #{checkState}, #{detectionResult}, #{detectionFile}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{remark}, update sur_project_check_detection project_id = #{projectId}, dept_id = #{deptId}, check_type = #{checkType}, check_time = #{checkTime}, check_state = #{checkState}, detection_result = #{detectionResult}, detection_file = #{detectionFile}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, remark = #{remark}, where id = #{id} delete from sur_project_check_detection where id = #{id} delete from sur_project_check_detection where id in #{id}