Merge pull request '注释修改,model项目结构调整' (#24) from wanjia9506/gitlink-notification-system:dev_gitlink_model into master
This commit is contained in:
commit
d181d60724
|
|
@ -20,7 +20,7 @@
|
|||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<version>2.3.4.RELEASE</version>
|
||||
<version>${springboot.version}</version>
|
||||
<configuration>
|
||||
<includeSystemScope>true</includeSystemScope>
|
||||
</configuration>
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ public class SysNotificationServiceImpl extends ServiceImpl<SysNotificationMappe
|
|||
|
||||
/**
|
||||
* @Description: 给用户发送消息
|
||||
* @Param: [newSysNotificationVo]
|
||||
* @Param newSysNotificationVo
|
||||
* @return: boolean
|
||||
* @Author: wanjia
|
||||
* @Date: 2021/9/8
|
||||
|
|
@ -40,7 +40,9 @@ public class SysNotificationServiceImpl extends ServiceImpl<SysNotificationMappe
|
|||
|
||||
/**
|
||||
* @Description: 变更消息状态
|
||||
* @Param: [platform:平台编码, notificationIds:消息id example-"23,24,25", status:1-未读2-已读]
|
||||
* @Param platform:平台编码
|
||||
* @Param notificationIds:消息ids example-"23,24,25"
|
||||
* @Param status:1-未读2-已读
|
||||
* @return: int
|
||||
* @Author: wanjia
|
||||
* @Date: 2021/9/8
|
||||
|
|
@ -52,7 +54,8 @@ public class SysNotificationServiceImpl extends ServiceImpl<SysNotificationMappe
|
|||
|
||||
/**
|
||||
* @Description: 获取全部未读消息数量
|
||||
* @Param: [platform:平台编码, receiver:接收者id]
|
||||
* @Param platform:平台编码
|
||||
* @Param receiver:接收者id
|
||||
* @return: int
|
||||
* @Author: wanjia
|
||||
* @Date: 2021/9/8
|
||||
|
|
@ -64,7 +67,9 @@ public class SysNotificationServiceImpl extends ServiceImpl<SysNotificationMappe
|
|||
|
||||
/**
|
||||
* @Description: 获取未读消息列表
|
||||
* @Param: [platform:平台编码, receiver:接收者id, notificationNumber:消息limit数]
|
||||
* @Param platform:平台编码
|
||||
* @Param receiver:接收者id
|
||||
* @Param notificationNumber:消息limit数
|
||||
* @return: java.util.List<SysNotification>
|
||||
* @Author: wanjia
|
||||
* @Date: 2021/9/8
|
||||
|
|
@ -77,7 +82,9 @@ public class SysNotificationServiceImpl extends ServiceImpl<SysNotificationMappe
|
|||
|
||||
/**
|
||||
* @Description: 根据类型获取未读系统消息数量
|
||||
* @Param: [platform:平台编码, receiver:接收者id, type:消息类型1-系统消息2-@我]
|
||||
* @Param platform:平台编码
|
||||
* @Param receiver:接收者id
|
||||
* @Param type:消息类型1-系统消息2-@我
|
||||
* @return: int
|
||||
* @Author: wanjia
|
||||
* @Date: 2021/9/8
|
||||
|
|
@ -89,7 +96,11 @@ public class SysNotificationServiceImpl extends ServiceImpl<SysNotificationMappe
|
|||
|
||||
/**
|
||||
* @Description: 获取全部消息分页列表
|
||||
* @Param: [curPage, pageSize, orderBy, platform:平台编码, receiver:接受者id]
|
||||
* @Param curPage
|
||||
* @Param pageSize
|
||||
* @Param orderBy
|
||||
* @Param platform:平台编码
|
||||
* @Param receiver:接受者id
|
||||
* @return: Page<SysNotification>
|
||||
* @Author: wanjia
|
||||
* @Date: 2021/9/8
|
||||
|
|
|
|||
Loading…
Reference in New Issue