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

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

/**
 * @author TRX
 * @date 2024/3/21
 */
public interface CommonConfigDao extends MongoDao<CommonConfig> {

    CommonConfig findTopById(String id);

    CommonConfig findTopByProjectOidAndAboutIdAndKey(String projectOid, String aboutId, String key);

}
