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
b64e61c9
Commit
b64e61c9
authored
May 17, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录
parent
7fe216bb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
WxEnterpriseRelatedApiServiceImpl.java
...e/service/out/impl/WxEnterpriseRelatedApiServiceImpl.java
+1
-1
LoginController.java
...com/gic/haoban/manage/web/controller/LoginController.java
+1
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/WxEnterpriseRelatedApiServiceImpl.java
View file @
b64e61c9
...
...
@@ -500,7 +500,7 @@ public class WxEnterpriseRelatedApiServiceImpl implements WxEnterpriseRelatedApi
public
List
<
WxEnterpriseDTO
>
listWxEnterpriseByEid
(
String
enterpriseId
,
String
clerkPhoneNumber
)
{
List
<
WxEnterpriseDTO
>
list
=
new
ArrayList
<>();
ClerkDTO
clerk
=
this
.
clerkService
.
getUserByPhoneNumber
(
clerkPhoneNumber
,
enterpriseId
);
if
(
null
==
clerk
||
StringUtils
.
isBlank
(
clerk
.
getHbEnt
()))
{
if
(
null
==
clerk
||
(
StringUtils
.
isBlank
(
clerk
.
getHbEnt
())
&&
null
!=
clerk
.
getSuperAdmin
()
&&
0
==
clerk
.
getSuperAdmin
()))
{
return
list
;
}
List
<
WxEnterpriseDTO
>
dtoList
=
this
.
listWxEnterpriseByEid
(
enterpriseId
)
;
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/LoginController.java
View file @
b64e61c9
...
...
@@ -362,7 +362,7 @@ public class LoginController extends WebBaseController {
String
wxEnterpriseId
=
jsonObject
.
getString
(
"wxEnterpriseId"
);
List
<
WxEnterpriseDTO
>
enterpriseDTOList
=
wxEnterpriseRelatedApiService
.
listWxEnterpriseByEid
(
gicEnterpriseId
,
phoneNumber
);
if
(
CollectionUtils
.
isEmpty
(
enterpriseDTOList
))
{
logger
.
info
(
"登录失败
,不存在对应企业:{}
"
,
o
);
logger
.
info
(
"登录失败
,查询微信企业列表空
"
,
o
);
return
resultResponse
(
HaoBanErrCode
.
ERR_6
);
}
if
(
StringUtils
.
isNotBlank
(
wxEnterpriseId
))
{
...
...
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