package com.zhongshu.card.server.core.dao.upload;

import com.github.microservice.components.data.mongo.mongo.dao.MongoDao;
import com.zhongshu.card.server.core.domain.upload.InterfaceUseRecord;

/**
 * 区域Dao
 *
 * @author TRX
 * @date 2024/3/21
 */
public interface InterfaceUseRecordDao extends MongoDao<InterfaceUseRecord> {

    InterfaceUseRecord findTopById(String id);

    InterfaceUseRecord findTopByKeyAndInterfaceNameOrderByCreateTimeDesc(String key, String interfaceName);

}
