订单完成从异常单移除

This commit is contained in:
wule committed 2026-09-28 19:21:25 +08:00
1 parent b5b2693990
commit d2a91db5e4
1 file changed
+4
@@ -838,6 +838,10 @@ namespace AllBase.Model.DBModel
// (oi.ItemTransitOrder == null || oi.ItemTransitOrder?.refund_status == "买手退款成功") && (string.IsNullOrWhiteSpace(out_order_no) || out_after_sale_status == "退款成功")))
// return false;
// 订单完成而非退货,肯定不是异常单
if (status == 100)
return false;
// 如果有售后,直接作为售后单处理
if (orderItems.All(oi => oi.refund_status > 1))
return false;