Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
easy-affair-show
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
easy-affair-show
Commits
e006b558
Commit
e006b558
authored
Jul 04, 2022
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
消息阅读后没修改状态bug修改
parent
2b455177
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
eas-manager/src/main/java/com/mortals/xhx/module/news/web/NewsController.java
.../java/com/mortals/xhx/module/news/web/NewsController.java
+3
-1
No files found.
eas-manager/src/main/java/com/mortals/xhx/module/news/web/NewsController.java
View file @
e006b558
...
...
@@ -41,12 +41,14 @@ public class NewsController extends BaseCRUDJsonBodyMappingController<NewsServic
}
@Override
protected
int
view
After
(
Long
id
,
Map
<
String
,
Object
>
model
,
NewsEntity
entity
,
Context
context
)
throws
AppException
{
protected
int
info
After
(
Long
id
,
Map
<
String
,
Object
>
model
,
NewsEntity
entity
,
Context
context
)
throws
AppException
{
//查看以后标记为已读
NewsEntity
update
=
new
NewsEntity
();
update
.
setId
(
id
);
update
.
setReadStatus
(
ReadStatusEnum
.
READ
.
getValue
());
this
.
service
.
update
(
update
);
entity
.
setReadStatus
(
ReadStatusEnum
.
READ
.
getValue
());
return
1
;
}
}
\ No newline at end of file
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