TASK:mixi;

This commit is contained in:
shahaibo
2024-05-08 13:04:23 +08:00
parent 5ebb549fe9
commit b8700b3d5a

View File

@@ -62,7 +62,7 @@ public class MiTuExportScheduledTask {
// WeeklyHeavyStockReport(); // WeeklyHeavyStockReport();
// QuarterlyProductGroupingReport(); // QuarterlyProductGroupingReport();
// customerTypeAnalysis(); // customerTypeAnalysis();
getBestSell(); // getBestSell();
} }
// public static void main(String[] args) { // public static void main(String[] args) {
@@ -85,7 +85,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 < 30; i++) { for (int i = 0; i < 1; i++) {
// 将这一天的商品销售数量入库 // 将这一天的商品销售数量入库
miTuProductSellNumEntry(today, productListAll); miTuProductSellNumEntry(today, productListAll);
today = today.minusDays(1); today = today.minusDays(1);