修复异常

This commit is contained in:
dingenwen 2024-03-13 19:33:04 +08:00
parent c74b331511
commit 1718ede2ee

View File

@ -120,7 +120,7 @@ public partial class TrackService : ApplicationService, ITrackService
throw new BusinessException(message: $"订单:{input.OrderNo}不存在"); throw new BusinessException(message: $"订单:{input.OrderNo}不存在");
} }
var codes = await _provideQueries.GetCanDeleteTrackCodesAsync(new List<int>(order.Id), input.TrackCodes); var codes = await _provideQueries.GetCanDeleteTrackCodesAsync(new List<int> { order.Id }, input.TrackCodes);
if (codes.Count == 0) if (codes.Count == 0)
{ {