package com.mindskip.xzs.repository;
|
|
import com.mindskip.xzs.domain.Notify;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
|
/**
|
* @author:xp
|
* @date:2024/7/15 14:36
|
*/
|
@Mapper
|
public interface NotifyMapper {
|
|
/**
|
* 添加
|
*
|
* @param notify
|
*/
|
void add(Notify notify);
|
|
/**
|
* 查询通知我的
|
*
|
* @return
|
*/
|
List<Notify> notifyMeList(@Param("userId") Integer userId);
|
|
/**
|
* 设置为已读
|
*
|
* @param ids
|
*/
|
void setHasRead(@Param("ids") List<Integer> ids);
|
|
/**
|
* 管理员通知列表
|
*
|
* @return
|
*/
|
List<Notify> adminNotifyList();
|
}
|