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
f0d50744
Commit
f0d50744
authored
Aug 21, 2023
by
jinxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
批量分配成员许可码
parent
a7f06c4c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
StaffController.java
...com/gic/haoban/manage/web/controller/StaffController.java
+8
-3
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/StaffController.java
View file @
f0d50744
...
@@ -10,6 +10,7 @@ import cn.hutool.core.collection.CollUtil;
...
@@ -10,6 +10,7 @@ import cn.hutool.core.collection.CollUtil;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONArray
;
import
com.gic.haoban.manage.api.dto.*
;
import
com.gic.haoban.manage.api.dto.*
;
import
com.gic.haoban.manage.api.dto.qdto.TransferActiveCodeQDTO
;
import
com.gic.haoban.manage.api.dto.qdto.TransferActiveCodeQDTO
;
import
com.gic.haoban.manage.api.dto.qdto.licence.LicenceOrderPageQDTO
;
import
com.gic.haoban.manage.api.service.*
;
import
com.gic.haoban.manage.api.service.*
;
import
com.gic.haoban.manage.web.log.LogRecordUserServiceImpl
;
import
com.gic.haoban.manage.web.log.LogRecordUserServiceImpl
;
import
com.gic.haoban.manage.web.qo.StaffListQO
;
import
com.gic.haoban.manage.web.qo.StaffListQO
;
...
@@ -704,9 +705,13 @@ public class StaffController extends WebBaseController {
...
@@ -704,9 +705,13 @@ public class StaffController extends WebBaseController {
public
RestResponse
<
StaffActiveAllocationVO
>
staffActiveAllocation
(
String
staffIds
)
{
public
RestResponse
<
StaffActiveAllocationVO
>
staffActiveAllocation
(
String
staffIds
)
{
WebLoginDTO
login
=
AuthWebRequestUtil
.
getLoginUser
();
WebLoginDTO
login
=
AuthWebRequestUtil
.
getLoginUser
();
String
wxEnterpriseId
=
login
.
getWxEnterpriseId
();
String
wxEnterpriseId
=
login
.
getWxEnterpriseId
();
ServiceResponse
<
StaffActiveAllocationDTO
>
response
=
staffApiService
.
staffActiveAllocation
(
wxEnterpriseId
,
staffIds
);
if
(
response
.
isSuccess
()){
return
RestResponse
.
successResult
();
StaffActiveAllocationDTO
dto
=
response
.
getResult
();
StaffActiveAllocationVO
result
=
JSONObject
.
parseObject
(
JSONObject
.
toJSONString
(
dto
),
StaffActiveAllocationVO
.
class
);
return
RestResponse
.
successResult
(
result
);
}
return
RestResponse
.
failure
(
response
.
getCode
(),
response
.
getMessage
());
}
}
}
}
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