From 10136e2b97c70cd25c40d6d6ae043e61d02d9dba Mon Sep 17 00:00:00 2001 From: "boxu.zheng" Date: Thu, 12 Oct 2023 17:02:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20datachange=20=E6=8E=92?= =?UTF-8?q?=E5=BA=8F=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ExchangeDatas/ExchangeDataAppService.cs | 4 ++-- .../ExchangeDatas/ExchangeDataManager.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/ExchangeDatas/ExchangeDataAppService.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/ExchangeDatas/ExchangeDataAppService.cs index 382096e38..2f3f76b7a 100644 --- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/ExchangeDatas/ExchangeDataAppService.cs +++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/ExchangeDatas/ExchangeDataAppService.cs @@ -86,7 +86,7 @@ public class ExchangeDataAppService var entities = await (await _repository.GetDbSetAsync().ConfigureAwait(false)) .Where(p => p.Status == EnumExchangeDataStatus.Unread) - .OrderBy(p => p.WriteTime) + .OrderBy(p => p.TyrpNumber) .Take(batchSize) .ToListAsync().ConfigureAwait(false); @@ -108,7 +108,7 @@ public class ExchangeDataAppService var entities = await (await _repository.GetDbSetAsync().ConfigureAwait(false)) .Where(p => p.Status == EnumExchangeDataStatus.Unread) - .OrderBy(p => p.WriteTime) + .OrderBy(p => p.TyrpNumber) .Take(batchSize) .ToListAsync().ConfigureAwait(false); diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Domain/ExchangeDatas/ExchangeDataManager.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Domain/ExchangeDatas/ExchangeDataManager.cs index c73d9aefb..d7bf10578 100644 --- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Domain/ExchangeDatas/ExchangeDataManager.cs +++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Domain/ExchangeDatas/ExchangeDataManager.cs @@ -39,7 +39,7 @@ public class ExchangeDataManager : DomainService, IExchangeDataManager var entities = await (await _repository.GetDbSetAsync().ConfigureAwait(false)) .Where(p => p.Status == EnumExchangeDataStatus.Unread) - .OrderBy(p => p.WriteTime) + .OrderBy(p => p.TyrpNumber) .Take(batchSize) .ToListAsync().ConfigureAwait(false);