Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
haoban3.0
haoban-manage3.0
Commits
b38beb49
Commit
b38beb49
authored
Jul 18, 2022
by
guojx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
运维登录人手机号
parent
4d72c7bb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
LoginController.java
...com/gic/haoban/manage/web/controller/LoginController.java
+1
-0
HbLogRecordController.java
...anage/web/controller/logrecord/HbLogRecordController.java
+3
-3
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/LoginController.java
View file @
b38beb49
...
@@ -382,6 +382,7 @@ public class LoginController extends WebBaseController {
...
@@ -382,6 +382,7 @@ public class LoginController extends WebBaseController {
//运维登录信息
//运维登录信息
webLoginDTO
.
setOperationUserId
(
operationUserId
);
webLoginDTO
.
setOperationUserId
(
operationUserId
);
webLoginDTO
.
setOperationUserName
(
userName
);
webLoginDTO
.
setOperationUserName
(
userName
);
webLoginDTO
.
setClerkPhone
(
userMobile
);
String
redirectUri
=
config
.
getHost
()
+
"index"
;
String
redirectUri
=
config
.
getHost
()
+
"index"
;
redirectUri
=
redirectUri
.
replace
(
"haoban-manage3-web"
,
"haoban-3/#"
);
redirectUri
=
redirectUri
.
replace
(
"haoban-manage3-web"
,
"haoban-3/#"
);
String
token
=
ToolUtil
.
randomUUID
()
+
"-"
+
ToolUtil
.
randomStringByTime
();
String
token
=
ToolUtil
.
randomUUID
()
+
"-"
+
ToolUtil
.
randomStringByTime
();
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/logrecord/HbLogRecordController.java
View file @
b38beb49
...
@@ -79,9 +79,9 @@ public class HbLogRecordController {
...
@@ -79,9 +79,9 @@ public class HbLogRecordController {
e
.
printStackTrace
();
e
.
printStackTrace
();
}
}
}
}
//
if(null == loginUser || StringUtils.isBlank(loginUser.getOperationUserName())) {
if
(
null
==
loginUser
||
StringUtils
.
isBlank
(
loginUser
.
getOperationUserName
()))
{
//
filter.append("ywFlag", new BasicDBObject("$ne",1)) ;
filter
.
append
(
"ywFlag"
,
new
BasicDBObject
(
"$ne"
,
1
))
;
//
}
}
LOGGER
.
info
(
JSON
.
toJSONString
(
filter
));
LOGGER
.
info
(
JSON
.
toJSONString
(
filter
));
doc
.
setFilter
(
filter
);
doc
.
setFilter
(
filter
);
Bson
sort
=
new
BasicDBObject
().
append
(
"createTime"
,
-
1
);
Bson
sort
=
new
BasicDBObject
().
append
(
"createTime"
,
-
1
);
...
...
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