package com.friday.custody.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.friday.custody.dto.ApiDto;
import com.friday.custody.entity.InvokeRecordEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * 
 * @author lyb
 * @email k0051582@gmail.com
 * @date 2022-03-06 16:39:56
 */
@Mapper
public interface InvokeRecordDao extends BaseMapper<InvokeRecordEntity> {
    InvokeRecordEntity selectForJob(InvokeRecordEntity entity);
    List<ApiDto> queryInvokeType(@Param("admin") String admin, @Param("trustNo") String trustNo);


    Integer selectCountByKey(@Param("queryKey") String queryKey);
}
