Browse Source

非生产领料和退料设置 createid 给接口使用

集成Redis
郑勃旭 2 years ago
parent
commit
f8599dbecb
  1. 1
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Notes/UnplannedIssuesNotes/UnplannedIssueNoteAppService.cs
  2. 1
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Notes/UnplannedReceiptNotes/UnplannedReceiptNoteAppService.cs
  3. 1
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Event/DataExchanges/UnplannedIssueNoteEventHandler.cs

1
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Notes/UnplannedIssuesNotes/UnplannedIssueNoteAppService.cs

@ -41,6 +41,7 @@ public class UnplannedIssueNoteAppService :
detail.ExtraProperties = inputDetail.ExtraProperties;
entity.Details.Add(detail);
entity.CreatorId = CurrentUser.Id;
}
await _unplannedIssueNoteManager.CreateAsync(entity).ConfigureAwait(false);

1
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Notes/UnplannedReceiptNotes/UnplannedReceiptNoteAppService.cs

@ -46,6 +46,7 @@ public class UnplannedReceiptNoteAppService :
detail.ExtraProperties = inputDetail.ExtraProperties;
entity.Details.Add(detail);
entity.CreatorId = CurrentUser.Id;
}
await _unplannedReceiptNoteManager.CreateAsync(entity).ConfigureAwait(false);

1
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Event/DataExchanges/UnplannedIssueNoteEventHandler.cs

@ -3,6 +3,7 @@ using System.Linq;
using System.Threading.Tasks;
using Volo.Abp.EventBus;
using Volo.Abp.Uow;
using Volo.Abp.Users;
using Win_in.Sfs.Shared.Event;
using Win_in.Sfs.Wms.Store.Application.Contracts;
using Win_in.Sfs.Wms.Store.Domain;

Loading…
Cancel
Save