拍单后没有实时更新问题修复

This commit is contained in:
wule committed 2026-08-25 11:02:42 +08:00
1 parent 5721d0f7f3
commit 3281fe7885
6 files changed
+35 -5

No files matched your search

+12 -2
View File
@@ -142,8 +142,8 @@ namespace AllBase.Model.DBModel
/// </summary>
public bool isAbnormal
{
get { return this.GetValue(x => x.IsWaitReceive); }
set { this.SetValue(x => x.IsWaitReceive, value); }
get { return this.GetValue(x => x.isAbnormal); }
set { this.SetValue(x => x.isAbnormal, value); }
}
public string orderStatusStr
@@ -682,6 +682,10 @@ namespace AllBase.Model.DBModel
private bool GetIsWaitBuy()
{
if (order_id == "3738686976228742912")
{
}
if (status != 20 && status != 21)
return false;
if (refundItems?.Any(r => r.IsRefund) == true)
@@ -725,6 +729,12 @@ namespace AllBase.Model.DBModel
private bool GetIsWaitReceive()
{
if (order_id == "3738687160199289344")
{
}
if (refundItems?.Any(r => r.IsRefund) == true)
return false;
if (orderItems?.Any(oi => oi.refund_status > 1) == true)