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
1
Merge Requests
1
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
db134cb0
Commit
db134cb0
authored
Feb 27, 2020
by
qwmqiuwenmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
63c6dc3f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
StaffController.java
...com/gic/haoban/manage/web/controller/StaffController.java
+16
-2
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/StaffController.java
View file @
db134cb0
...
@@ -25,8 +25,6 @@ import com.gic.haoban.manage.web.auth.AuthRequestUtil;
...
@@ -25,8 +25,6 @@ import com.gic.haoban.manage.web.auth.AuthRequestUtil;
import
com.gic.haoban.manage.web.errCode.HaoBanErrCode
;
import
com.gic.haoban.manage.web.errCode.HaoBanErrCode
;
import
com.gic.haoban.manage.web.qo.StaffEditJsonQO
;
import
com.gic.haoban.manage.web.qo.StaffEditJsonQO
;
import
com.gic.haoban.manage.web.vo.LoginVO
;
import
com.gic.haoban.manage.web.vo.LoginVO
;
import
com.google.gson.JsonArray
;
import
com.squareup.moshi.Json
;
@RestController
@RestController
...
@@ -131,6 +129,22 @@ public class StaffController extends WebBaseController{
...
@@ -131,6 +129,22 @@ public class StaffController extends WebBaseController{
return
resultResponse
(
HaoBanErrCode
.
ERR_1
);
return
resultResponse
(
HaoBanErrCode
.
ERR_1
);
}
}
@RequestMapping
(
"staff-invite"
)
public
HaobanResponse
staffInvite
(
String
staffIds
){
String
[]
staffArr
=
staffIds
.
split
(
","
);
String
[]
userArr
=
new
String
[
staffArr
.
length
];
int
index
=
0
;
for
(
String
staffId
:
staffArr
)
{
StaffDTO
staff
=
staffApiService
.
selectById
(
staffId
);
if
(
staff
!=
null
){
String
userId
=
staff
.
getWxUserId
();
userArr
[
index
]
=
userId
;
}
index
++;
}
return
resultResponse
(
HaoBanErrCode
.
ERR_1
);
}
@RequestMapping
(
"staff-batch-edit-department"
)
@RequestMapping
(
"staff-batch-edit-department"
)
public
HaobanResponse
staffBatchEditDepartment
(
String
params
){
public
HaobanResponse
staffBatchEditDepartment
(
String
params
){
...
...
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