Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jeecg-boot
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
jeecg-boot
Commits
0971b50c
Commit
0971b50c
authored
May 21, 2019
by
zhangdaihao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jeecgBoot v2.0版本发布
parent
17f99226
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
ant-design-jeecg-vue/src/components/tools/HeaderNotice.vue
+7
-4
jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/mapper/SysAnnouncementMapper.java
+2
-1
No files found.
ant-design-jeecg-vue/src/components/tools/HeaderNotice.vue
View file @
0971b50c
...
@@ -116,17 +116,20 @@
...
@@ -116,17 +116,20 @@
},
60000
)
},
60000
)
},
},
loadData
(){
loadData
(){
try
{
// 获取系统消息
// 获取系统消息
getAction
(
this
.
url
.
listCementByUser
).
then
((
res
)
=>
{
getAction
(
this
.
url
.
listCementByUser
).
then
((
res
)
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
this
.
announcement1
=
res
.
result
.
anntMsgList
;
this
.
announcement1
=
res
.
result
.
anntMsgList
;
this
.
msg1Count
=
res
.
result
.
anntMsgTotal
;
this
.
msg1Count
=
res
.
result
.
anntMsgTotal
;
this
.
msg1Title
=
"通知("
+
res
.
result
.
anntMsgTotal
+
")"
;
this
.
msg1Title
=
"通知("
+
res
.
result
.
anntMsgTotal
+
")"
;
this
.
announcement2
=
res
.
result
.
sysMsgList
;
this
.
announcement2
=
res
.
result
.
sysMsgList
;
this
.
msg2Count
=
res
.
result
.
sysMsgTotal
;
this
.
msg2Count
=
res
.
result
.
sysMsgTotal
;
this
.
msg2Title
=
"系统消息("
+
res
.
result
.
sysMsgTotal
+
")"
;
this
.
msg2Title
=
"系统消息("
+
res
.
result
.
sysMsgTotal
+
")"
;
}
}
});
});
}
catch
(
err
)
{
}
},
},
fetchNotice
()
{
fetchNotice
()
{
if
(
this
.
loadding
)
{
if
(
this
.
loadding
)
{
...
...
jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/mapper/SysAnnouncementMapper.java
View file @
0971b50c
...
@@ -2,6 +2,7 @@ package org.jeecg.modules.system.mapper;
...
@@ -2,6 +2,7 @@ package org.jeecg.modules.system.mapper;
import
java.util.List
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.jeecg.modules.system.entity.SysAnnouncement
;
import
org.jeecg.modules.system.entity.SysAnnouncement
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
...
@@ -16,6 +17,6 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
...
@@ -16,6 +17,6 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
public
interface
SysAnnouncementMapper
extends
BaseMapper
<
SysAnnouncement
>
{
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
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment