Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1-office-web-sit
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
吴迪
gs1-office-web-sit
Commits
d244b3ef
Commit
d244b3ef
authored
Jan 15, 2025
by
吴迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
编辑字段 最后编辑字段 修改提交
parent
36a449a1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
HomePopupForm.java
...ain/java/io/office/modules/manage/form/HomePopupForm.java
+1
-1
HomePopupServiceImpl.java
...ice/modules/manage/service/impl/HomePopupServiceImpl.java
+1
-0
No files found.
src/main/java/io/office/modules/manage/form/HomePopupForm.java
View file @
d244b3ef
...
@@ -43,7 +43,7 @@ public class HomePopupForm implements Serializable {
...
@@ -43,7 +43,7 @@ public class HomePopupForm implements Serializable {
/**
/**
* 作者
* 作者
*/
*/
@NotBlank
(
message
=
"作者不能为空"
,
groups
=
{
UpdateGroup
.
class
,
AddGroup
.
class
})
private
String
author
;
private
String
author
;
/**
/**
* 编辑
* 编辑
...
...
src/main/java/io/office/modules/manage/service/impl/HomePopupServiceImpl.java
View file @
d244b3ef
...
@@ -81,6 +81,7 @@ public class HomePopupServiceImpl extends ServiceImpl<HomePopupDao, HomePopupEnt
...
@@ -81,6 +81,7 @@ public class HomePopupServiceImpl extends ServiceImpl<HomePopupDao, HomePopupEnt
public
void
saveHomePopup
(
HomePopupEntity
homePopupEntity
,
SysUserEntity
loginUser
)
{
public
void
saveHomePopup
(
HomePopupEntity
homePopupEntity
,
SysUserEntity
loginUser
)
{
homePopupEntity
.
setId
(
idWorkService
.
getSEQByKey
(
IdKeysConstant
.
ID_SEQ_KEY
));
homePopupEntity
.
setId
(
idWorkService
.
getSEQByKey
(
IdKeysConstant
.
ID_SEQ_KEY
));
homePopupEntity
.
setAuthor
(
loginUser
.
getUsername
());
homePopupEntity
.
setAuthor
(
loginUser
.
getUsername
());
homePopupEntity
.
setEditor
(
loginUser
.
getUsername
());
homePopupEntity
.
setStatus
(
0
);
homePopupEntity
.
setStatus
(
0
);
homePopupEntity
.
setCreateTime
(
DateUtils
.
format
(
new
Date
(),
DateUtils
.
DATE_TIME_PATTERN
));
homePopupEntity
.
setCreateTime
(
DateUtils
.
format
(
new
Date
(),
DateUtils
.
DATE_TIME_PATTERN
));
homePopupEntity
.
setUpdateTime
(
DateUtils
.
format
(
new
Date
(),
DateUtils
.
DATE_TIME_PATTERN
));
homePopupEntity
.
setUpdateTime
(
DateUtils
.
format
(
new
Date
(),
DateUtils
.
DATE_TIME_PATTERN
));
...
...
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