diff --git a/src/main/java/com/mixi/common/tasks/MiTuExportScheduledTask.java b/src/main/java/com/mixi/common/tasks/MiTuExportScheduledTask.java index 55d7e67..575d0a1 100644 --- a/src/main/java/com/mixi/common/tasks/MiTuExportScheduledTask.java +++ b/src/main/java/com/mixi/common/tasks/MiTuExportScheduledTask.java @@ -59,7 +59,7 @@ public class MiTuExportScheduledTask { // WeeklyHeavyStockReport(); // QuarterlyProductGroupingReport(); // customerTypeAnalysis(); -// getBestSell(); + getBestSell(); } // public static void main(String[] args) { @@ -80,7 +80,7 @@ public class MiTuExportScheduledTask { // bestSellIsNotNull.lambda().isNotNull(TProduct::getBestSell); List productListAll = productMapper.selectList(bestSellIsNotNull); LocalDate today = LocalDate.now(); - for (int i = 0; i < 30; i++) { + for (int i = 0; i < 1; i++) { // 将这一天的商品销售数量入库 miTuProductSellNumEntry(today, productListAll); today = today.minusDays(1);