Commit 6ccf121d by 徐高华

Merge branch 'xgh_内容中台' into 'developer'

导购查询

See merge request !471
parents e2f0daf5 e5c71efe
......@@ -1769,6 +1769,9 @@ public class WxStaffController extends WebBaseController {
resultList = EntityUtil.changeEntityListByJSON(ClerkListVO.class, clerkList);
List<String> clerkIdList = resultList.stream().map(dto->dto.getClerkId()).collect(Collectors.toList()) ;
List<StaffClerkRelationDTO> relationList = this.staffClerkRelationApiService.listByClerkIdsWxEnterpriseId(clerkIdList, wxEnterpriseId) ;
if(CollectionUtils.isEmpty(relationList)) {
return RestResponse.failure("-1", "无导购");
}
List<String> retlationIdList = relationList.stream().map(dto->dto.getClerkId()).collect(Collectors.toList()) ;
resultList.removeIf(item->{
return !retlationIdList.contains(item.getClerkId()) ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment