Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
patzn-cloud-service-hmhj
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangweidong
patzn-cloud-service-hmhj
Commits
8256d8c4
Commit
8256d8c4
authored
Jul 25, 2021
by
lijingjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加创建人和修改人名称;
parent
5a838ef9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
NoticeAnnouncementController.java
...ce/lims/hmhj/controller/NoticeAnnouncementController.java
+2
-0
No files found.
src/main/java/com/patzn/cloud/service/lims/hmhj/controller/NoticeAnnouncementController.java
View file @
8256d8c4
...
...
@@ -55,12 +55,14 @@ public class NoticeAnnouncementController extends ServiceController {
@PutMapping
(
"/{id}"
)
public
RestResult
<
Boolean
>
edit
(
@PathVariable
(
"id"
)
Long
id
,
NoticeAnnouncement
noticeAnnouncement
)
{
noticeAnnouncement
.
setId
(
id
);
noticeAnnouncement
.
setUpdater
(
getAccount
().
getUserName
());
return
success
(
noticeAnnouncementService
.
updateAndRecord
(
noticeAnnouncement
));
}
@ApiOperation
(
"添加"
)
@PostMapping
(
"/"
)
public
RestResult
<
Boolean
>
add
(
NoticeAnnouncement
noticeAnnouncement
)
{
noticeAnnouncement
.
setCreator
(
getAccount
().
getUserName
());
return
success
(
noticeAnnouncementService
.
save
(
noticeAnnouncement
));
}
...
...
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