|
|
@ -5,6 +5,7 @@ using BBWY.Server.Model; |
|
|
|
using BBWY.Server.Model.Db; |
|
|
|
using BBWY.Server.Model.Db.Mds; |
|
|
|
using BBWY.Server.Model.Dto; |
|
|
|
using FreeSql; |
|
|
|
using Newtonsoft.Json; |
|
|
|
using System; |
|
|
|
using System.Collections.Generic; |
|
|
@ -380,7 +381,7 @@ namespace BBWY.Server.Business |
|
|
|
((o.OrderState != Enums.OrderState.已取消 && |
|
|
|
o.StorageType != Enums.StorageType.SD && |
|
|
|
o.StorageType != null && |
|
|
|
(oc.PurchaseAmount == 0M || oc.Profit < 0)) || |
|
|
|
(SqlExt.IsNull(oc.PurchaseAmount, 0) == 0M || SqlExt.IsNull(oc.Profit, 0) < 0)) || |
|
|
|
(o.StorageType == null && |
|
|
|
!filterExceptionStateList.Contains(o.OrderState)))).Count(); |
|
|
|
|
|
|
|