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
b217b240
Commit
b217b240
authored
Jul 01, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
log
parent
c5cefd7c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
StaffApiServiceImpl.java
.../manage/service/service/out/impl/StaffApiServiceImpl.java
+7
-3
StaffController.java
...com/gic/haoban/manage/web/controller/StaffController.java
+1
-0
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/StaffApiServiceImpl.java
View file @
b217b240
...
...
@@ -321,11 +321,15 @@ public class StaffApiServiceImpl implements StaffApiService {
res
.
setCode
(
3
);
return
res
;
}
String
nationCode
=
null
;
String
phoneNumber
=
null
;
String
imageUrl
=
changeHeaderImageUrl
(
user
.
getAvatar
());
String
mobile
=
user
.
getMobile
();
String
[]
arr
=
getNationCodeAndPhoneNumber
(
mobile
);
String
nationCode
=
arr
[
0
];
String
phoneNumber
=
arr
[
1
];
if
(
StringUtils
.
isNotBlank
(
mobile
))
{
String
[]
arr
=
getNationCodeAndPhoneNumber
(
mobile
);
nationCode
=
arr
[
0
];
phoneNumber
=
arr
[
1
];
}
TabHaobanStaff
staff
=
staffService
.
selectByPhoneNumberOrUserIdAndEnterpriseId
(
phoneNumber
,
userId
,
wxEnterpriseId
);
if
(
staff
!=
null
)
{
staffService
.
delOtherStaffByWxUserId
(
staff
.
getWxUserId
(),
staff
.
getStaffId
(),
wxEnterpriseId
);
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/StaffController.java
View file @
b217b240
...
...
@@ -368,6 +368,7 @@ public class StaffController extends WebBaseController {
logger
.
info
(
"没有权限门店"
);
return
resultResponse
(
HaoBanErrCode
.
ERR_1
);
}
logger
.
info
(
"好办门店数={},wxEnterpriseId={},enterpriseIds={}"
,
storeIds
.
size
(),
wxEnterpriseId
,
enterpriseIds
);
List
<
ClerkDTO
>
clerkDTOList
=
clerkNewService
.
listClerkByEnterpriseIdAndSearchAndClerkType
(
enterpriseIds
,
storeIds
,
search
);
List
<
ClerkInfoVo
>
retList
=
EntityUtil
.
changeEntityListByJSON
(
ClerkInfoVo
.
class
,
clerkDTOList
);
if
(
CollectionUtils
.
isNotEmpty
(
retList
))
{
...
...
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