From 225aafd95c771a446f4e7ccc5d0481536be327ac Mon Sep 17 00:00:00 2001
From: lvzb <35200379@qq.com>
Date: Tue, 2 Apr 2024 13:45:47 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=AE=8C=E5=B7=A5=E8=BD=AC?=
=?UTF-8?q?=E5=82=A8=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Enums/Inventory/EnumTransSubType.cs | 16 ++++++++++++
.../TransferNotes/ITransferNoteAppService.cs | 3 +++
.../TransferNotes/TransferNoteAppService.cs | 25 ++++++++++++++++++-
3 files changed, 43 insertions(+), 1 deletion(-)
diff --git a/be/Modules/Shared/src/Win_in.Sfs.Shared.Domain.Shared/Enums/Inventory/EnumTransSubType.cs b/be/Modules/Shared/src/Win_in.Sfs.Shared.Domain.Shared/Enums/Inventory/EnumTransSubType.cs
index 57d1e43cd..172af90c4 100644
--- a/be/Modules/Shared/src/Win_in.Sfs.Shared.Domain.Shared/Enums/Inventory/EnumTransSubType.cs
+++ b/be/Modules/Shared/src/Win_in.Sfs.Shared.Domain.Shared/Enums/Inventory/EnumTransSubType.cs
@@ -67,6 +67,22 @@ public enum EnumTransSubType
[Display(Name = "客户库位调拨(客户储位调拨)")]
Transfer_Customer = 3105,
+ ///
+ /// 注塑完工转储
+ ///
+ [Display(Name = "注塑完工转储")]
+ Transfer_Injection = 3106,
+ ///
+ /// 喷涂完工转储
+ ///
+ [Display(Name = "喷涂完工转储")]
+ Transfer_Coating = 3107,
+ ///
+ /// 装配完工转储
+ ///
+ [Display(Name = "装配完工转储")]
+ Transfer_Assemble = 3108,
+
///
/// 客户库位调拨(客户储位调拨)
///
diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Notes/TransferNotes/ITransferNoteAppService.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Notes/TransferNotes/ITransferNoteAppService.cs
index aceb3662a..515522c31 100644
--- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Notes/TransferNotes/ITransferNoteAppService.cs
+++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application.Contracts/Notes/TransferNotes/ITransferNoteAppService.cs
@@ -87,4 +87,7 @@ public interface ITransferNoteAppService :
///
///
Task SplitPacking_IssueAsync(TransferNoteEditInput transferNoteEditInput, SplitPacking_UpdateJobDetailInput updateJobDetailInput);
+ Task> GetInjectionTransferListAsync(SfsStoreRequestInputBase sfsRequestDTO, bool includeDetails = false, CancellationToken cancellationToken = default);
+ Task> GetCoatingTransferListAsync(SfsStoreRequestInputBase sfsRequestDTO, bool includeDetails = false, CancellationToken cancellationToken = default);
+ Task> GetAssembleTransferListAsync(SfsStoreRequestInputBase sfsRequestDTO, bool includeDetails = false, CancellationToken cancellationToken = default);
}
diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Notes/TransferNotes/TransferNoteAppService.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Notes/TransferNotes/TransferNoteAppService.cs
index 2848d8650..0e2505fc9 100644
--- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Notes/TransferNotes/TransferNoteAppService.cs
+++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Notes/TransferNotes/TransferNoteAppService.cs
@@ -261,7 +261,30 @@ public class TransferNoteAppService : SfsStoreWithDetailsAppServiceBase
return await GetSubTypeListAsync(sfsRequestDTO, EnumTransSubType.Transfer_Inside, includeDetails,
cancellationToken).ConfigureAwait(false);
}
-
+ [HttpPost("get-Injection-list")]
+ public virtual async Task> GetInjectionTransferListAsync(
+ SfsStoreRequestInputBase sfsRequestDTO, bool includeDetails = false,
+ CancellationToken cancellationToken = default)
+ {
+ return await GetSubTypeListAsync(sfsRequestDTO, EnumTransSubType.Transfer_Injection, includeDetails,
+ cancellationToken).ConfigureAwait(false);
+ }
+ [HttpPost("get-coating-list")]
+ public virtual async Task> GetCoatingTransferListAsync(
+ SfsStoreRequestInputBase sfsRequestDTO, bool includeDetails = false,
+ CancellationToken cancellationToken = default)
+ {
+ return await GetSubTypeListAsync(sfsRequestDTO, EnumTransSubType.Transfer_Coating, includeDetails,
+ cancellationToken).ConfigureAwait(false);
+ }
+ [HttpPost("get-assemble-list")]
+ public virtual async Task> GetAssembleTransferListAsync(
+ SfsStoreRequestInputBase sfsRequestDTO, bool includeDetails = false,
+ CancellationToken cancellationToken = default)
+ {
+ return await GetSubTypeListAsync(sfsRequestDTO, EnumTransSubType.Transfer_Assemble, includeDetails,
+ cancellationToken).ConfigureAwait(false);
+ }
///
/// 按条件获取客户储位间调拨的分页列表
/// request sample