JEECG BOOT V2.0 版本发布

This commit is contained in:
zhangdaihao
2019-05-21 16:08:06 +08:00
parent 2dfcbb524c
commit 2767f13772
3 changed files with 18 additions and 12 deletions
+2
View File
@@ -104,6 +104,8 @@ Jeecg-Boot快速开发平台,可以应用在任何J2EE项目的开发中,尤
- 入门必看: [http://jeecg-boot.mydoc.io/?t=345660](http://jeecg-boot.mydoc.io/?t=345660)
- 入门必看: [JeecgBoot常见问题大全](http://www.jeecg.org/forum.php?mod=viewthread&tid=7816&extra=page%3D1)
- QQ交流群 284271917
- 视频教程(视频有点老,以文档为准) : https://pan.baidu.com/s/1Il0TS50I70vH1AG1y40wtw 提取码:hok5
@@ -116,17 +116,20 @@
},60000)
},
loadData (){
// 获取系统消息
getAction(this.url.listCementByUser).then((res)=>{
if(res.success){
this.announcement1 = res.result.anntMsgList;
this.msg1Count = res.result.anntMsgTotal;
this.msg1Title = "通知("+res.result.anntMsgTotal+")";
this.announcement2 = res.result.sysMsgList;
this.msg2Count = res.result.sysMsgTotal;
this.msg2Title = "系统消息("+res.result.sysMsgTotal+")";
}
});
try {
// 获取系统消息
getAction(this.url.listCementByUser).then((res) => {
if (res.success) {
this.announcement1 = res.result.anntMsgList;
this.msg1Count = res.result.anntMsgTotal;
this.msg1Title = "通知(" + res.result.anntMsgTotal + ")";
this.announcement2 = res.result.sysMsgList;
this.msg2Count = res.result.sysMsgTotal;
this.msg2Title = "系统消息(" + res.result.sysMsgTotal + ")";
}
});
} catch (err) {
}
},
fetchNotice () {
if (this.loadding) {
@@ -2,6 +2,7 @@ package org.jeecg.modules.system.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.system.entity.SysAnnouncement;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
@@ -16,6 +17,6 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
public interface SysAnnouncementMapper extends BaseMapper<SysAnnouncement> {
List<SysAnnouncement> querySysCementListByUserId(Page<SysAnnouncement> page, String userId,String msgCategory);
List<SysAnnouncement> querySysCementListByUserId(Page<SysAnnouncement> page, @Param("userId")String userId,@Param("msgCategory")String msgCategory);
}