|
|
@@ -1034,7 +1034,7 @@ public class StatisticsDataServiceImpl implements StatisticsDataService {
|
|
|
data.setAccountName(goodsDon.getTitle());
|
|
|
}
|
|
|
//开启规格详情数据统计
|
|
|
- if (goodsDon.getIsSkuStatistics()) {
|
|
|
+ if (goodsDon != null && goodsDon.getIsSkuStatistics()) {
|
|
|
data.setSubDataList(goodsDonSkuStatisticsDataMapper.statisticsStreamingSkuData(goodsDon.getId(), startDate, endDate));
|
|
|
}
|
|
|
data.setRefundMoney(getRefundMoney(data.getGoodsId(), null, startDate, endDate));
|