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
265806c6
Commit
265806c6
authored
Aug 04, 2021
by
fudahua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会员标签同步-伪登录
parent
2c7b8baa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
23 deletions
+6
-23
InfoController.java
.../com/gic/haoban/manage/web/controller/InfoController.java
+6
-23
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/InfoController.java
View file @
265806c6
...
...
@@ -142,32 +142,15 @@ public class InfoController extends WebBaseController{
loginStaff
=
staffDTOS
.
get
(
0
);
if
(
staffDTOS
.
size
()
>
1
)
{
String
dictName
=
loginUserId
.
getDictName
();
String
[]
split
=
dictName
.
split
(
"-"
);
if
(
split
.
length
>
1
)
{
for
(
int
i
=
0
;
i
<
split
.
length
;
i
++)
{
// String weiCorpId = split[1];
String
weiCorpId
=
split
[
i
];
if
(
enterprise
.
getWxEnterpriseId
().
equals
(
wxEnterpriseApiService
.
getEnterpriseBycorpId
(
weiCorpId
)))
{
WxEnterpriseDTO
weiWxEnterpriseDTO
=
wxEnterpriseApiService
.
getEnterpriseBycorpId
(
weiCorpId
);
System
.
out
.
println
(
"执行"
+
i
);
if
(
null
!=
weiWxEnterpriseDTO
)
{
loginStaff
=
staffDTOS
.
stream
().
filter
(
staffDTO
->
{
if
(
weiWxEnterpriseDTO
.
getWxEnterpriseId
().
equals
(
staffDTO
.
getWxEnterpriseId
()))
{
return
true
;
}
else
{
return
false
;
}
}).
findFirst
().
orElse
(
staffDTOS
.
get
(
0
));
}
}
loginStaff
=
staffDTOS
.
stream
().
filter
(
staffDTO
->
{
if
(
dictName
.
equals
(
staffDTO
.
getWxEnterpriseId
()))
{
return
true
;
}
else
{
return
false
;
}
}
}
).
findFirst
().
orElse
(
staffDTOS
.
get
(
0
));
}
}
// StaffDTO staffDTO = staffApiService.selectByNationcodeAndPhoneNumber(enterprise.getWxEnterpriseId(), "86", midPhone);
// if (null !=staffDTO) {
// loginStaff=staffDTO;
// }
}
}
...
...
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