Commit 835694c6 by 墨竹

Merge branch 'feature-haoban-role' into developer

parents 0e0e5a9c 492f477a
......@@ -530,6 +530,10 @@ public class StaffApiServiceImpl implements StaffApiService {
storeIds.add(storeId);
List<String> clerkList = clerkService.getclerkListByStoreIds(storeIds);
List<StaffClerkRelationDTO> staffRelationList = staffClerkRelationService.listByClerkIds(clerkList);
if (CollectionUtils.isEmpty(staffRelationList)) {
logger.error("无未绑定导购");
return Collections.emptyList();
}
List<String> clerkIds = staffRelationList.stream().filter(s -> s.getClerkId() != null).map(s -> s.getClerkId()).collect(Collectors.toList());
if (CollectionUtils.isEmpty(clerkIds)) {
logger.info("无未绑定导购id");
......
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