修改统计, 采购金额=有效订单的采购金额

This commit is contained in:
chfei committed 2026-10-09 20:22:37 +08:00
1 parent 0df1f8c54e
commit f1a03e521a
3 files changed
+119 -32

No files matched your search

+5 -5
View File
@@ -136,15 +136,15 @@ internal class ShopTest
[Test]
public void GetShopSalesOrderTest()
{
var shopService = _container.Resolve<ShopRevenueStatisticsService>();
DateTime date = DateTime.Parse("2026/10/01");
var shopService = _container.Resolve<ShopService>();
var shopIds =shopService.GetShopIds("taiyuanqiji");
var shopStatsService = _container.Resolve<ShopRevenueStatisticsService>();
DateTime date = DateTime.Parse("2026/09/10");
Console.WriteLine($"开始:{date.ToLongDateString()}");
try
{
shopService.ShopDailyStats(date, [
1960967267443626508,
]);
shopStatsService.ShopDailyStats(date, shopIds);
}
catch
{