fix:各商户购买次数趋势统计

This commit is contained in:
dzc committed 2025-10-17 12:17:48 +08:00
1 parent 1ffa092529
commit 54e80013d4
1 file changed
+3 -1
@@ -62,7 +62,9 @@ public class PanelShopServiceImpl implements PanelShopService {
List<PanelPorductVo> list = hardOrderMapper.groupByMch(dto);
for (PanelPorductVo.ProductTypeItemVo v : result) {
List<PanelPorductVo> targetMchTotalList = list.stream().filter(item -> ObjectUtil.equals(v.getType(), String.valueOf(item.getMchId()))).toList();
if (ObjectUtil.isEmpty(targetMchTotalList)) continue;
if (ObjectUtil.isEmpty(targetMchTotalList)) {
targetMchTotalList = new ArrayList<>();
}
// 处理时间
List<PanelPorductVo> resultList = BeanUtil.copyToList(dateList, PanelPorductVo.class);
for (PanelPorductVo i : resultList) {