package com.hssx.pcbms.mapper;

import com.hssx.pcbms.entity.NewsNotice;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 吴涛涛
 * @since 2019-11-06
 */
public interface NewsNoticeMapper extends BaseMapper<NewsNotice> {

    List<NewsNotice> selectListByCondition(@Param("uid") Integer uid);

    Integer getNoReadNewsCount(Integer uid);
}
