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
731595fb
Commit
731595fb
authored
Jun 27, 2022
by
墨竹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:更改查询导购过滤超管
parent
283645e4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
StaffController.java
...com/gic/haoban/manage/web/controller/StaffController.java
+1
-2
ClerkController.java
...com/gic/haoban/manage/web/controller/ClerkController.java
+3
-3
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/StaffController.java
View file @
731595fb
...
...
@@ -2,7 +2,6 @@ package com.gic.haoban.manage.web.controller;
import
cn.hutool.core.collection.CollectionUtil
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONObject
;
import
com.gic.api.base.commons.Page
;
import
com.gic.clerk.api.dto.ClerkDTO
;
...
...
@@ -369,7 +368,7 @@ public class StaffController extends WebBaseController {
logger
.
info
(
"没有权限门店"
);
return
resultResponse
(
HaoBanErrCode
.
ERR_1
);
}
List
<
ClerkDTO
>
clerkDTOList
=
clerkNewService
.
listClerkByEnterpriseIdAndSearch
(
enterpriseIds
,
storeIds
,
search
);
List
<
ClerkDTO
>
clerkDTOList
=
clerkNewService
.
listClerkByEnterpriseIdAndSearch
AndClerkType
(
enterpriseIds
,
storeIds
,
search
);
List
<
ClerkInfoVo
>
retList
=
EntityUtil
.
changeEntityListByJSON
(
ClerkInfoVo
.
class
,
clerkDTOList
);
if
(
CollectionUtils
.
isNotEmpty
(
retList
))
{
logger
.
info
(
"导购数量={}"
,
retList
.
size
());
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/ClerkController.java
View file @
731595fb
...
...
@@ -669,7 +669,7 @@ public class ClerkController extends WebBaseController {
return
!
over
;
}).
map
(
EnterpriseDetailDTO:
:
getEnterpriseId
).
collect
(
Collectors
.
toList
());
List
<
String
>
storeIds
=
wxEnterpriseRelatedApiService
.
listStoreIdByWxEnterpriseId
(
wxEnterpriseId
);
List
<
ClerkDTO
>
clerkList
=
clerkNewService
.
listClerkByEnterpriseIdAndSearch
(
enterpriseIdList
,
storeIds
,
keyword
);
List
<
ClerkDTO
>
clerkList
=
clerkNewService
.
listClerkByEnterpriseIdAndSearch
AndClerkType
(
enterpriseIdList
,
storeIds
,
keyword
);
List
<
ClerkStoreVO
>
clerkStoreList
=
buildClerkRelation
(
clerkList
,
enterpriseIdList
);
return
resultResponse
(
HaoBanErrCode
.
ERR_1
,
clerkStoreList
);
}
...
...
@@ -764,7 +764,7 @@ public class ClerkController extends WebBaseController {
logger
.
error
(
"手机号为空,staffId:{}"
,
staffId
);
return
ret
;
}
List
<
ClerkDTO
>
clerkList
=
clerkNewService
.
listClerkByEnterpriseIdAndSearch
(
enterpriseIdList
,
storeIdList
,
phoneNumber
);
List
<
ClerkDTO
>
clerkList
=
clerkNewService
.
listClerkByEnterpriseIdAndSearch
AndClerkType
(
enterpriseIdList
,
storeIdList
,
phoneNumber
);
if
(
CollectionUtils
.
isNotEmpty
(
clerkList
))
{
ret
.
addAll
(
clerkList
);
}
...
...
@@ -781,7 +781,7 @@ public class ClerkController extends WebBaseController {
if
(
StringUtils
.
isEmpty
(
clerkDTO
.
getPhoneNumber
()))
{
continue
;
}
List
<
ClerkDTO
>
clerkList
=
clerkNewService
.
listClerkByEnterpriseIdAndSearch
(
enterpriseIdList
,
storeIdList
,
clerkDTO
.
getPhoneNumber
());
List
<
ClerkDTO
>
clerkList
=
clerkNewService
.
listClerkByEnterpriseIdAndSearch
AndClerkType
(
enterpriseIdList
,
storeIdList
,
clerkDTO
.
getPhoneNumber
());
if
(
CollectionUtils
.
isNotEmpty
(
clerkList
))
{
ret
.
addAll
(
clerkList
);
}
...
...
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