订单筛选功能优化
This commit is contained in:
1 parent
9ce8c6e6bc
commit
f3ec329e77
7 files changed
+347
-62
No files matched your search
@@ -703,6 +703,11 @@ namespace AllBase.Model.DBModel
|
||||
IsWaitBuy = GetIsWaitBuy();
|
||||
IsWaitSend = GetIsWaitSend();
|
||||
IsWaitReceive = GetIsWaitReceive();
|
||||
|
||||
if (order_id == "3739089000222605568")
|
||||
{
|
||||
|
||||
}
|
||||
isAbnormal = GetIsAbnormal();
|
||||
}
|
||||
|
||||
@@ -777,6 +782,11 @@ namespace AllBase.Model.DBModel
|
||||
|
||||
public bool GetIsAbnormal()
|
||||
{
|
||||
// 三退或者两退,为退款完成单
|
||||
//if (orderItems.All(oi => (oi.refund_status == 4 || oi.refund_status == 11) && (oi.ItemTransitOrder != null || string.IsNullOrWhiteSpace(out_order_no)) &&
|
||||
// (oi.ItemTransitOrder == null || oi.ItemTransitOrder?.refund_status == "买手退款成功") && (string.IsNullOrWhiteSpace(out_order_no) || out_after_sale_status == "退款成功")))
|
||||
// return false;
|
||||
|
||||
// 如果有售后,直接作为售后单处理
|
||||
if (orderItems.All(oi => oi.refund_status > 1))
|
||||
return false;
|
||||
@@ -785,7 +795,6 @@ namespace AllBase.Model.DBModel
|
||||
return false;
|
||||
if (gift_order_status == 1 || gift_order_status == 2)
|
||||
return false;
|
||||
|
||||
if (orderItems.Any(oi => !(oi.OrderItemExt?.abnormal_text).IsNullOrEmpty()))
|
||||
return true;
|
||||
|
||||
|
||||
Reference in new issue
Block a user