package com.friday.custody.service.basicService;

import com.baomidou.mybatisplus.extension.service.IService;
import com.friday.custody.dto.ApiDto;
import com.friday.custody.entity.InvokeRecordEntity;
import com.friday.custody.req.BasicQueryReq;
import com.friday.custody.utils.PageUtils;
import com.friday.custody.utils.R;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author lyb
 * @email k0051582@gmail.com
 * @date 2022-03-06 16:39:56
 */
public interface InvokeRecordService extends IService<InvokeRecordEntity> {

    PageUtils queryPage(Map<String, Object> params);

    boolean saveInvokeRecord(InvokeRecordEntity invokeRecordEntity);

    R queryByType(String tenantName, String type, String trustNo, BasicQueryReq basicQueryReq);
    List<ApiDto> queryInvokeType(String admin, String trustNo);
}

