From 82865d4e5150791d0c761832de469a4709ff1fea Mon Sep 17 00:00:00 2001 From: lvzb <35200379@qq.com> Date: Thu, 11 Apr 2024 13:40:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E5=90=88=E6=A0=BC=E8=BD=AC=E5=90=88?= =?UTF-8?q?=E6=A0=BCbug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Requests/DeliverRequests/DeliverRequestAppService.cs | 2 ++ .../Notes/NoOkConvertOKNoteAutoMapperProfile.cs | 6 +++--- .../Transactions/NoOkConvertOKNoteEventHandler.cs | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Requests/DeliverRequests/DeliverRequestAppService.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Requests/DeliverRequests/DeliverRequestAppService.cs index 39849fe91..1ecfa8ea9 100644 --- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Requests/DeliverRequests/DeliverRequestAppService.cs +++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Requests/DeliverRequests/DeliverRequestAppService.cs @@ -248,7 +248,9 @@ public class DeliverRequestAppService : private async Task SetRequestAutoPropertiesAsync(DeliverRequest entity) { + //普通件 var transType = EnumTransSubType.Deliver_Standard; + //jis件 if (entity.DeliverRequestType == EnumDeliverRequestType.FIS) { transType = EnumTransSubType.Deliver_FIS; diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Event/AutoMapperProfiles/Notes/NoOkConvertOKNoteAutoMapperProfile.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Event/AutoMapperProfiles/Notes/NoOkConvertOKNoteAutoMapperProfile.cs index 141698ecf..4057fecc2 100644 --- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Event/AutoMapperProfiles/Notes/NoOkConvertOKNoteAutoMapperProfile.cs +++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Event/AutoMapperProfiles/Notes/NoOkConvertOKNoteAutoMapperProfile.cs @@ -14,10 +14,10 @@ public partial class StoreEventAutoMapperProfile : Profile .ForMember(x => x.DocNumber, y => y.MapFrom(d => d.Number)) .Ignore(x => x.SupplierBatch) - .Ignore(x => x.ProduceDate) + // .Ignore(x => x.ProduceDate) .Ignore(x => x.Worker) - .Ignore(x => x.ArriveDate) - .Ignore(x => x.ExpireDate) + // .Ignore(x => x.ArriveDate) + //.Ignore(x => x.ExpireDate) .Ignore(x => x.ExtraProperties) .Ignore(x => x.TransType) diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Event/Transactions/NoOkConvertOKNoteEventHandler.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Event/Transactions/NoOkConvertOKNoteEventHandler.cs index 233deef2e..1c2b416a6 100644 --- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Event/Transactions/NoOkConvertOKNoteEventHandler.cs +++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Event/Transactions/NoOkConvertOKNoteEventHandler.cs @@ -11,7 +11,7 @@ using Win_in.Sfs.Wms.Store.Event.Transaction; namespace Win_in.Sfs.Wms.Store.Event.Transactions; -public class NoOkConvertOkNoteEventHandler +public class NoOkConvertOkNoteEventHandler : StoreInventoryEventHandlerBase , ILocalEventHandler> {