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
35e84569
Commit
35e84569
authored
May 23, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录
parent
54dc8b72
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
EnterpriseController.java
...ic/haoban/manage/web/controller/EnterpriseController.java
+9
-0
AdminController.java
...com/gic/haoban/manage/web/controller/AdminController.java
+3
-0
No files found.
haoban-manage3-operation-web/src/main/java/com/gic/haoban/manage/web/controller/EnterpriseController.java
View file @
35e84569
...
@@ -21,6 +21,7 @@ import org.slf4j.Logger;
...
@@ -21,6 +21,7 @@ import org.slf4j.Logger;
import
org.slf4j.LoggerFactory
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
...
@@ -47,6 +48,7 @@ import com.gic.haoban.common.utils.UuidUtil;
...
@@ -47,6 +48,7 @@ import com.gic.haoban.common.utils.UuidUtil;
import
com.gic.haoban.manage.api.dto.BindStoreInfoDTO
;
import
com.gic.haoban.manage.api.dto.BindStoreInfoDTO
;
import
com.gic.haoban.manage.api.dto.DepartmentDTO
;
import
com.gic.haoban.manage.api.dto.DepartmentDTO
;
import
com.gic.haoban.manage.api.dto.EnterpriseDetailDTO
;
import
com.gic.haoban.manage.api.dto.EnterpriseDetailDTO
;
import
com.gic.haoban.manage.api.dto.HaobanUserDTO
;
import
com.gic.haoban.manage.api.dto.StoreOrGroupInfoDTO
;
import
com.gic.haoban.manage.api.dto.StoreOrGroupInfoDTO
;
import
com.gic.haoban.manage.api.dto.StoreRangeInfoDTO
;
import
com.gic.haoban.manage.api.dto.StoreRangeInfoDTO
;
import
com.gic.haoban.manage.api.dto.WxEnterpriseDTO
;
import
com.gic.haoban.manage.api.dto.WxEnterpriseDTO
;
...
@@ -601,4 +603,11 @@ public class EnterpriseController extends WebBaseController {
...
@@ -601,4 +603,11 @@ public class EnterpriseController extends WebBaseController {
return
resultResponse
(
HaoBanErrCode
.
ERR_1
);
return
resultResponse
(
HaoBanErrCode
.
ERR_1
);
}
}
//授权企业列表 filteRight 是否过滤无登录权限的列表
@RequestMapping
(
"gic-enterprise-list"
)
public
HaobanResponse
wxaEnterpriseList
(
String
wxEnterpriseId
)
{
List
<
EnterpriseDetailDTO
>
list
=
wxEnterpriseRelatedApiService
.
listEnterpriseByWxEnterpriseId
(
wxEnterpriseId
,
null
,
false
);
return
resultResponse
(
HaoBanErrCode
.
ERR_1
,
list
);
}
}
}
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/AdminController.java
View file @
35e84569
...
@@ -64,6 +64,9 @@ public class AdminController extends WebBaseController {
...
@@ -64,6 +64,9 @@ public class AdminController extends WebBaseController {
List
<
AdminVO
>
resultList
=
new
ArrayList
<>();
List
<
AdminVO
>
resultList
=
new
ArrayList
<>();
if
(
CollectionUtils
.
isNotEmpty
(
openUserIds
))
{
if
(
CollectionUtils
.
isNotEmpty
(
openUserIds
))
{
String
staffId
=
login
.
getStaffId
()
;
String
staffId
=
login
.
getStaffId
()
;
if
(
StringUtils
.
isBlank
(
staffId
))
{
return
this
.
resultResponse
(
HaoBanErrCode
.
ERR_10030
)
;
}
if
(
corpid
.
length
()
>
20
)
{
if
(
corpid
.
length
()
>
20
)
{
list
=
staffApiService
.
listByOpenUserIdsAndWxEnterpriseId
(
openUserIds
,
wxEnterpriseId
);
list
=
staffApiService
.
listByOpenUserIdsAndWxEnterpriseId
(
openUserIds
,
wxEnterpriseId
);
}
else
{
}
else
{
...
...
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