package com.pcloud.book.group.dao;


import com.pcloud.book.group.entity.ResourcePageCollect;
import com.pcloud.common.core.dao.BaseDao;

/**
 * 资源页收藏记录(ResourcePageCollect)表数据库访问层
 *
 * @author makejava
 * @since 2021-04-26 15:27:14
 */
public interface ResourcePageCollectDao extends BaseDao<ResourcePageCollect>{

    /**
     * 查收藏记录
     * @author：zhuyajie
     * @date：2021/4/26 15:33
     *  * @param null
     */
    ResourcePageCollect getCollectRecordByUser(Long wechatUserId, Long resourcePageId);

    /**
     * 获取非新用户状态
     * @author：zhuyajie
     * @date：2021/5/27 10:38
     *  * @param null
     */
    Integer getUserIsNotNew(Long wechatUserId);
}