package com.ruoyi.tc.mapper.history;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.tc.entity.history.AssetCurrentHistory;
import com.ruoyi.tc.entity.request.AssetzcTjRequest;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * 现有资产复制表(asset_current_history)表数据库访问层
 *
 * @author makejava
 * @since 2024-11-15 10:03:56
 */
public interface AssetCurrentHistoryMapper extends BaseMapper<AssetCurrentHistory> {



    /**
     * web资产提交记录
     *
     * @param req
     * @return
     */
    @Select("select * from  asset_mini_programs_history where task_id= #{req.taskId} and asset_id =#{req.assetId}")
    AssetCurrentHistory findByTaskIdandAssetId(@Param("req") AssetzcTjRequest req);
}

