From be5b779fa2e05a75a6e8bdc46e83080a1d1b4d26 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AD=A6=20=E8=B5=B5?= <89237069@qq.com>
Date: Thu, 26 Dec 2024 13:11:20 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../IssueJobs/AssembleIssueJobs/AssembleIssueJobAppService.cs | 4 ++--
.../Notes/TransferNotes/TransferNoteAppService.cs | 3 +++
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/AssembleIssueJobs/AssembleIssueJobAppService.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/AssembleIssueJobs/AssembleIssueJobAppService.cs
index 695fa8481..a825041b0 100644
--- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/AssembleIssueJobs/AssembleIssueJobAppService.cs
+++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/IssueJobs/AssembleIssueJobs/AssembleIssueJobAppService.cs
@@ -988,8 +988,8 @@ public class AssembleIssueJobAppService
///
/// 返回信息
///
- /// 0成功其他失败
- /// OK成功其他错误信息
+ /// 0成功其他失败
+ /// OK成功其他错误信息
///
private AgvResultObject ReturnMessage(string code, string message)
{
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 7609a4b4f..d446f24b2 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
@@ -768,6 +768,9 @@ public class TransferNoteAppService : SfsStoreWithDetailsAppServiceBase
case "IPA-KWZ"://注塑线边库位组
transfer.Type = EnumTransSubType.Transfer_Injection.ToString();
break;
+ default:
+ throw new UserFriendlyException("结束库位、不是喷涂、注塑、涂装等线边类型!");
+
}
var item = await _itemBasicAppService.GetByCodeAsync(detail.MatCode).ConfigureAwait(false);