feiyu02
2024-11-19 752e00503f672ddfe2066afb6c235721a3a912b5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package cn.flightfeather.supervision.domain.mapper
 
import cn.flightfeather.supervision.domain.entity.Notice
import cn.flightfeather.supervision.domain.util.MyMapper
import cn.flightfeather.supervision.lightshare.vo.NotificationVo
import tk.mybatis.mapper.common.Mapper
 
@org.apache.ibatis.annotations.Mapper
interface NoticeMapper : MyMapper<Notice> {
 
    fun selectByUser(userTypeId: String, userId: String, startIndex: Int, perPage: Int): List<Notice>
 
    fun getUnReadNotification(userId: String, districtCode: String?, sceneTypeId: String?, userTypeId: Byte?)
            : List<NotificationVo>
}