Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sv-springboot
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
bsoft
sv-springboot
Commits
cc13564d
Commit
cc13564d
authored
Jun 15, 2021
by
songzhenmin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev-2.0' into dev-2.0
parents
ffd41ff4
3204805b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
6 deletions
+1
-6
hs-api/src/main/java/com/hs/api/service/Impl/LoginServiceImpl.java
+1
-6
No files found.
hs-api/src/main/java/com/hs/api/service/Impl/LoginServiceImpl.java
View file @
cc13564d
...
@@ -18,6 +18,7 @@ import com.hs.api.service.SysConfigService;
...
@@ -18,6 +18,7 @@ import com.hs.api.service.SysConfigService;
import
com.hs.api.service.UserService
;
import
com.hs.api.service.UserService
;
import
com.hs.common.utils.RedisUtil
;
import
com.hs.common.utils.RedisUtil
;
import
com.hs.common.utils.StringUtil
;
import
com.hs.common.utils.StringUtil
;
import
org.slf4j.Logger
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.web.context.request.RequestContextHolder
;
import
org.springframework.web.context.request.RequestContextHolder
;
...
@@ -94,12 +95,6 @@ public class LoginServiceImpl implements LoginService {
...
@@ -94,12 +95,6 @@ public class LoginServiceImpl implements LoginService {
//查询病案信息
//查询病案信息
SysVersion
version
=
sysVersionMapper
.
selectLastDate
();
SysVersion
version
=
sysVersionMapper
.
selectLastDate
();
//add 检查发布功能 by mengchao 2021-05-24 begin
if
(
sysConfigService
.
getStateByKey
(
SysConfigKeyType
.
BAH_CXRQ_CONTROL
.
getCode
())
&&
!
user
.
getIsAdmin
())
{
version
.
setBahDate
(
version
.
getBahDate
()-
1
);
}
// add end
loginInfo
.
setVersion
(
version
);
loginInfo
.
setVersion
(
version
);
RedisUtil
.
del
(
user
.
getUserCode
());
RedisUtil
.
del
(
user
.
getUserCode
());
}
else
{
}
else
{
...
...
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