TASK:mixi;

This commit is contained in:
shahaibo
2024-04-29 11:44:28 +08:00
parent d4c1338de6
commit 69aef229e2

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) {
@@ -80,7 +80,7 @@ public class MiTuExportScheduledTask {
// bestSellIsNotNull.lambda().isNotNull(TProduct::getBestSell); // bestSellIsNotNull.lambda().isNotNull(TProduct::getBestSell);
List<TProduct> productListAll = productMapper.selectList(bestSellIsNotNull); List<TProduct> productListAll = productMapper.selectList(bestSellIsNotNull);
LocalDate today = LocalDate.now(); LocalDate today = LocalDate.now();
for (int i = 0; i < 1; i++) { for (int i = 0; i < 2; i++) {
// 将这一天的商品销售数量入库 // 将这一天的商品销售数量入库
miTuProductSellNumEntry(today, productListAll); miTuProductSellNumEntry(today, productListAll);
today = today.minusDays(1); today = today.minusDays(1);