select attach_id, attach_code, attach_name, attach_type, attach_path, process_id, active_flag, remark, create_by, create_time, update_by, update_time from mes_base_attach_info insert into mes_base_attach_info attach_code, attach_name, attach_type, attach_path, process_id, active_flag, remark, create_by, create_time, update_by, update_time, #{attachCode}, #{attachName}, #{attachType}, #{attachPath}, #{processId}, #{activeFlag}, #{remark}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, update mes_base_attach_info attach_code = #{attachCode}, attach_name = #{attachName}, attach_type = #{attachType}, attach_path = #{attachPath}, process_id = #{processId}, active_flag = #{activeFlag}, remark = #{remark}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, where attach_id = #{attachId} delete from mes_base_attach_info where attach_id = #{attachId} delete from mes_base_attach_info where attach_id in #{attachId}