增量读取订单功能 90% 新的二级oem 50%

This commit is contained in:
wule committed 2026-11-17 16:43:47 +08:00
1 parent e3f4e34def
commit 171064f03f
31 files changed
+1169 -624

No files matched your search

@@ -83,7 +83,7 @@ public partial class OrderListCtrl
{
sucessCount++;
item.gift_order_status = 1;
foreach (var orderItem in item.orderItems)
foreach (var orderItem in item.OrderItems)
{
InitOrderItemObservableProp(orderItem);
}
@@ -109,7 +109,7 @@ public partial class OrderListCtrl
}
SetProgress(index, count);
BottomMsg = $"礼品单发送进度:{index}/{count}\t\t{item.orderItems.FirstOrDefault()?.title ?? ""}";
BottomMsg = $"礼品单发送进度:{index}/{count}\t\t{item.OrderItems.FirstOrDefault()?.title ?? ""}";
index++;
}
@@ -166,7 +166,7 @@ public partial class OrderListCtrl
{
errorCount++;
}
BottomMsg = $"订单同步进度:{index}/{count}\t\t{item.orderItems.FirstOrDefault()?.title ?? ""}";
BottomMsg = $"订单同步进度:{index}/{count}\t\t{item.OrderItems.FirstOrDefault()?.title ?? ""}";
index++;
}
BottomMsg = $"订单同步进度完成 成功:{sucessCount} 失败:{errorCount} 总数:{count}";
@@ -203,7 +203,7 @@ public partial class OrderListCtrl
{
long shopid = item.Key;
string shopName = item.Value.FirstOrDefault()?.shop_name ?? "";
string[] afterSaleOrderIds = item.Value.SelectMany(a => a.refundItems).Where(a => a != null).Select(a => a.after_sale_order_id).ToArray();
string[] afterSaleOrderIds = item.Value.SelectMany(a => a.RefundItems).Where(a => a != null).Select(a => a.after_sale_order_id).ToArray();
var ret = await PullWXOrderService.Instance.PullAfterSaleOrdersAsync(shopid, afterSaleOrderIds);
if (ret)
{