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
d1507cce
Commit
d1507cce
authored
May 16, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
login
parent
420661fd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
6 deletions
+25
-6
LoginController.java
...com/gic/haoban/manage/web/controller/LoginController.java
+1
-1
WebLoginVO.java
...rc/main/java/com/gic/haoban/manage/web/vo/WebLoginVO.java
+24
-5
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/LoginController.java
View file @
d1507cce
...
@@ -274,7 +274,7 @@ public class LoginController extends WebBaseController {
...
@@ -274,7 +274,7 @@ public class LoginController extends WebBaseController {
StaffDTO
dto
=
this
.
staffApiService
.
selectById
(
staffId
)
;
StaffDTO
dto
=
this
.
staffApiService
.
selectById
(
staffId
)
;
vo
.
setStaffName
(
dto
.
getStaffName
()+
"("
+
loginUser
.
getClerkName
()+
")"
);
vo
.
setStaffName
(
dto
.
getStaffName
()+
"("
+
loginUser
.
getClerkName
()+
")"
);
StaffVO
staffVO
=
EntityUtil
.
changeEntityByOrika
(
StaffVO
.
class
,
dto
)
;
StaffVO
staffVO
=
EntityUtil
.
changeEntityByOrika
(
StaffVO
.
class
,
dto
)
;
vo
.
setStaff
DT
O
(
staffVO
);
vo
.
setStaff
V
O
(
staffVO
);
return
this
.
success
(
vo
)
;
return
this
.
success
(
vo
)
;
}
}
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/vo/WebLoginVO.java
View file @
d1507cce
...
@@ -13,6 +13,9 @@ public class WebLoginVO implements Serializable {
...
@@ -13,6 +13,9 @@ public class WebLoginVO implements Serializable {
private
String
loginChannel
=
"gic"
;
private
String
loginChannel
=
"gic"
;
private
String
clerkId
;
private
String
clerkId
;
private
String
clerkName
;
private
String
clerkName
;
private
Integer
superAdmin
=
0
;
//1:超级管理员 0:普通管理员
/***部门权限 1可见本人,2可见部门,3可见所有***/
private
Integer
departAuth
;
private
String
staffId
;
private
String
staffId
;
private
String
staffName
;
private
String
staffName
;
// 企微用户id
// 企微用户id
...
@@ -21,7 +24,23 @@ public class WebLoginVO implements Serializable {
...
@@ -21,7 +24,23 @@ public class WebLoginVO implements Serializable {
// 企业用户id(密文)
// 企业用户id(密文)
private
String
wxOpenUseId
;
private
String
wxOpenUseId
;
private
String
headImg
;
private
String
headImg
;
private
StaffVO
staffDTO
;
private
StaffVO
staffVO
;
public
Integer
getSuperAdmin
()
{
return
superAdmin
;
}
public
Integer
getDepartAuth
()
{
return
departAuth
;
}
public
void
setSuperAdmin
(
Integer
superAdmin
)
{
this
.
superAdmin
=
superAdmin
;
}
public
void
setDepartAuth
(
Integer
departAuth
)
{
this
.
departAuth
=
departAuth
;
}
public
String
getHeadImg
()
{
public
String
getHeadImg
()
{
return
headImg
;
return
headImg
;
...
@@ -31,12 +50,12 @@ public class WebLoginVO implements Serializable {
...
@@ -31,12 +50,12 @@ public class WebLoginVO implements Serializable {
this
.
headImg
=
headImg
;
this
.
headImg
=
headImg
;
}
}
public
StaffVO
getStaff
DT
O
()
{
public
StaffVO
getStaff
V
O
()
{
return
staff
DT
O
;
return
staff
V
O
;
}
}
public
void
setStaff
DTO
(
StaffVO
staffDT
O
)
{
public
void
setStaff
VO
(
StaffVO
staffV
O
)
{
this
.
staff
DTO
=
staffDT
O
;
this
.
staff
VO
=
staffV
O
;
}
}
public
String
getStaffName
()
{
public
String
getStaffName
()
{
...
...
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