fix:轨迹详情异常

This commit is contained in:
eli 2024-11-29 12:01:45 +08:00
parent aa6b269f21
commit 26f57263b1

View File

@ -119,7 +119,7 @@ public class TrackOrderService : ApplicationService
if (orderId != null && orderId > 0)
whereExpression = m => m.Id == orderId;
if (string.IsNullOrEmpty(orderNo) && systemId != null && systemId > 0)
if (!string.IsNullOrEmpty(orderNo) && systemId != null && systemId > 0)
whereExpression = m => m.OrderNo == orderNo && m.SubSystemId == systemId;
if (orderId == default && orderNo == default && systemId == default)