Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
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
8timerv2
8timerapiv200
Commits
143ca0e6
Commit
143ca0e6
authored
Jun 16, 2020
by
dengshichuan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dsc' into 'develop'
Dsc See merge request 8timerv2/8timerapiv200!208
parents
4d9f0ef1
64c44605
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
src/main/java/cn/timer/api/controller/LoginController.java
+2
-1
src/main/java/cn/timer/api/controller/qyzx/QyzxAuthController.java
+4
-0
No files found.
src/main/java/cn/timer/api/controller/LoginController.java
View file @
143ca0e6
...
@@ -517,8 +517,9 @@ public class LoginController {
...
@@ -517,8 +517,9 @@ public class LoginController {
}
}
login
=
qyzxEmpLogin
;
login
=
qyzxEmpLogin
;
}
}
// 1-是主账号管理员
boolean
b4
=
YgglMainEmp
.
builder
().
orgCode
(
qyId
).
empNum
(
login
.
getId
()).
rzTime
(
new
Date
())
boolean
b4
=
YgglMainEmp
.
builder
().
orgCode
(
qyId
).
empNum
(
login
.
getId
()).
rzTime
(
new
Date
())
.
isManager
(
SysRoleType
.
U_TYPE_ADMIN
.
getType
()
).
name
(
username
).
phone
(
phone
)
.
isManager
(
1
).
name
(
username
).
phone
(
phone
)
.
jobType
(
YgJobType
.
QUANZHI
.
getType
()).
jobStatus
(
YgEnumInterface
.
jobStatus
.
ZHENSHI
.
getType
()).
build
()
.
jobType
(
YgJobType
.
QUANZHI
.
getType
()).
jobStatus
(
YgEnumInterface
.
jobStatus
.
ZHENSHI
.
getType
()).
build
()
.
insert
();
.
insert
();
if
(!
b4
)
{
if
(!
b4
)
{
...
...
src/main/java/cn/timer/api/controller/qyzx/QyzxAuthController.java
View file @
143ca0e6
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
package
cn
.
timer
.
api
.
controller
.
qyzx
;
package
cn
.
timer
.
api
.
controller
.
qyzx
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.Collections
;
import
java.util.Comparator
;
import
java.util.Date
;
import
java.util.Date
;
import
java.util.HashMap
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.List
;
...
@@ -183,6 +185,8 @@ public class QyzxAuthController {
...
@@ -183,6 +185,8 @@ public class QyzxAuthController {
.
eq
(
YgglMainEmp:
:
getIsManager
,
2
).
select
(
YgglMainEmp:
:
getName
,
YgglMainEmp:
:
getPhone
,
.
eq
(
YgglMainEmp:
:
getIsManager
,
2
).
select
(
YgglMainEmp:
:
getName
,
YgglMainEmp:
:
getPhone
,
YgglMainEmp:
:
getEmpNum
,
YgglMainEmp:
:
getIsManager
));
YgglMainEmp:
:
getEmpNum
,
YgglMainEmp:
:
getIsManager
));
child
.
add
(
main
);
child
.
add
(
main
);
Collections
.
sort
(
child
,
Comparator
.
comparing
(
YgglMainEmp:
:
getIsManager
));
return
ResultUtil
.
data
(
child
,
"查询成功"
);
return
ResultUtil
.
data
(
child
,
"查询成功"
);
}
}
...
...
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