package com.persagy.dmp.rwd.version.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.persagy.dmp.rwd.version.entity.ObjectInfoHistory;
import org.apache.ibatis.annotations.Param;

/**
 * 信息点历史dao
 * @author Charlie Yu
 * @date 2021-06-23
 */
public interface ObjectInfoHistoryMapper extends BaseMapper<ObjectInfoHistory> {

    /**
     * 按版本复制
     * @param srcVersion 源版本
     * @param version 复制后版本
     */
    void copyByVersion(@Param("srcVersion")String srcVersion, @Param("version")String version);
}
