TASK:mixi;

This commit is contained in:
shahaibo
2024-04-26 17:33:30 +08:00
parent f671c824c4
commit d4c1338de6
2 changed files with 3 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ public class MiTuExportScheduledTask {
// WeeklyHeavyStockReport(); // WeeklyHeavyStockReport();
// QuarterlyProductGroupingReport(); // QuarterlyProductGroupingReport();
// customerTypeAnalysis(); // customerTypeAnalysis();
getBestSell(); // getBestSell();
} }
// public static void main(String[] args) { // public static void main(String[] args) {

View File

@@ -181,8 +181,9 @@ public class TAppProductService extends ServiceImpl<TProductMapper, TProduct> {
} }
if (!StringUtils.isEmpty(query.getMemberCode())) { if (!StringUtils.isEmpty(query.getMemberCode())) {
productIds.retainAll(byItemAndType); productIds.retainAll(byItemAndType);
}else {
productIds.addAll(byItemAndType);
} }
productIds.addAll(byItemAndType);
} }
if (CollectionUtils.isEmpty(productIds)) { if (CollectionUtils.isEmpty(productIds)) {
return PageBaseResponse.success(new Page<>()); return PageBaseResponse.success(new Page<>());