|
|
@ -76,7 +76,7 @@ public class FactGridMemberStatisticsDailyServiceImpl extends BaseServiceImpl<Fa |
|
|
|
public void extractGridMemberStatisticsDaily(String customerId, String dateId) { |
|
|
|
List<CustomerStaffGridDTO> staffGridList = customerGridService.getCustomerStaffGridList(customerId); |
|
|
|
List<StaffRoleInfoDTO> staffInfoList = userService.getStaffByRoleKey(customerId, RoleKeyConstants.ROLE_KEY_GRID_MEMBER); |
|
|
|
if (CollectionUtils.isEmpty(staffGridList) || CollectionUtils.isNotEmpty(staffInfoList)) { |
|
|
|
if (CollectionUtils.isEmpty(staffGridList) || CollectionUtils.isEmpty(staffInfoList)) { |
|
|
|
return; |
|
|
|
} |
|
|
|
Map<String, StaffRoleInfoDTO> staffMap = staffInfoList.stream().collect(Collectors.toMap(StaffRoleInfoDTO :: getStaffId, |
|
|
|