update: 【GetDetails】获取轨迹明细,对orderNo参数增加可选项避免不传为空时报400错误
This commit is contained in:
parent
7fe025c9bd
commit
99bf506ab7
@ -113,7 +113,7 @@ public class TrackOrderService : ApplicationService
|
|||||||
/// <param name="systemId"></param>
|
/// <param name="systemId"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
[HttpPost("GetDetails")]
|
[HttpPost("GetDetails")]
|
||||||
public async Task<List<TrackOrderDetailDto>> GetTracksAsync(int orderId, string orderNo, int systemId)
|
public async Task<List<TrackOrderDetailDto>> GetTracksAsync(int orderId, string? orderNo, int systemId)
|
||||||
{
|
{
|
||||||
Expression<Func<OrderEntity, bool>> whereExpression = null;
|
Expression<Func<OrderEntity, bool>> whereExpression = null;
|
||||||
if (orderId > 0)
|
if (orderId > 0)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user