Browse Source

不合格转合格bug修改

dev_DY_CC
lvzb 1 year ago
parent
commit
82865d4e51
  1. 2
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Requests/DeliverRequests/DeliverRequestAppService.cs
  2. 6
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Event/AutoMapperProfiles/Notes/NoOkConvertOKNoteAutoMapperProfile.cs
  3. 2
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Event/Transactions/NoOkConvertOKNoteEventHandler.cs

2
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) private async Task SetRequestAutoPropertiesAsync(DeliverRequest entity)
{ {
//普通件
var transType = EnumTransSubType.Deliver_Standard; var transType = EnumTransSubType.Deliver_Standard;
//jis件
if (entity.DeliverRequestType == EnumDeliverRequestType.FIS) if (entity.DeliverRequestType == EnumDeliverRequestType.FIS)
{ {
transType = EnumTransSubType.Deliver_FIS; transType = EnumTransSubType.Deliver_FIS;

6
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)) .ForMember(x => x.DocNumber, y => y.MapFrom(d => d.Number))
.Ignore(x => x.SupplierBatch) .Ignore(x => x.SupplierBatch)
.Ignore(x => x.ProduceDate) // .Ignore(x => x.ProduceDate)
.Ignore(x => x.Worker) .Ignore(x => x.Worker)
.Ignore(x => x.ArriveDate) // .Ignore(x => x.ArriveDate)
.Ignore(x => x.ExpireDate) //.Ignore(x => x.ExpireDate)
.Ignore(x => x.ExtraProperties) .Ignore(x => x.ExtraProperties)
.Ignore(x => x.TransType) .Ignore(x => x.TransType)

2
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; namespace Win_in.Sfs.Wms.Store.Event.Transactions;
public class NoOkConvertOkNoteEventHandler public class NoOkConvertOkNoteEventHandler
: StoreInventoryEventHandlerBase : StoreInventoryEventHandlerBase
, ILocalEventHandler<SfsCreatedEntityEventData<NoOkConvertOkNote>> , ILocalEventHandler<SfsCreatedEntityEventData<NoOkConvertOkNote>>
{ {

Loading…
Cancel
Save