Commit fbe4394a by 潘诗林

fix: 没有主推套餐的门店不进行统计

1 parent aa0baeee
...@@ -322,6 +322,10 @@ public class PreLearnReportService { ...@@ -322,6 +322,10 @@ public class PreLearnReportService {
dto.setStoreName(merchantMap.getOrDefault(storeId, "")); dto.setStoreName(merchantMap.getOrDefault(storeId, ""));
Set<String> mainPushSet = storeMainPushProducts.getOrDefault(storeId, Collections.emptySet()); Set<String> mainPushSet = storeMainPushProducts.getOrDefault(storeId, Collections.emptySet());
//如果没有主推套餐则不统计
if(mainPushSet.isEmpty()){
continue;
}
dto.setWeeklyMainPushCount(mainPushSet.size()); dto.setWeeklyMainPushCount(mainPushSet.size());
Set<String> staffSet = storeStaffSet.getOrDefault(storeId, Collections.emptySet()); Set<String> staffSet = storeStaffSet.getOrDefault(storeId, Collections.emptySet());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!