Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
brandkbs2
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
shenjunjie
brandkbs2
Commits
ddfee367
Commit
ddfee367
authored
Oct 18, 2022
by
shenjunjie
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature' into 'dev'
调整Project切换uTime bug See merge request
!57
parents
9b0b6f85
9bba5206
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/main/java/com/zhiwei/brandkbs2/service/impl/ProjectServiceImpl.java
+2
-2
No files found.
src/main/java/com/zhiwei/brandkbs2/service/impl/ProjectServiceImpl.java
View file @
ddfee367
...
...
@@ -148,7 +148,7 @@ public class ProjectServiceImpl implements ProjectService {
return
false
;
}
else
{
Update
update
=
new
Update
();
update
.
set
(
"uTime"
,
new
Date
());
update
.
set
(
"uTime"
,
System
.
currentTimeMillis
());
update
.
set
(
"isShow"
,
!
project
.
isShow
());
projectDao
.
updateOneByIdWithField
(
pid
,
update
);
return
true
;
...
...
@@ -162,7 +162,7 @@ public class ProjectServiceImpl implements ProjectService {
ExceptionCast
.
cast
(
CommonCodeEnum
.
INVALID_PARAM
,
"项目不存在"
);
}
Update
update
=
new
Update
();
update
.
set
(
"uTime"
,
new
Date
());
update
.
set
(
"uTime"
,
System
.
currentTimeMillis
());
update
.
set
(
"isStart"
,
!
project
.
isStart
());
projectDao
.
updateOneByIdWithField
(
pid
,
update
);
}
...
...
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