TASK:mixi;

This commit is contained in:
shahaibo
2024-04-26 15:47:50 +08:00
parent 51d73952f4
commit f671c824c4

View File

@@ -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<TProduct> 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);