From 4d2b6fea8d08c95bd6bb2b8c2b1228383110457e Mon Sep 17 00:00:00 2001
From: yanjinhui <3306209981@qq.com>
Date: 星期四, 09 四月 2026 12:48:46 +0800
Subject: [PATCH] 1
---
代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskHelpMethods.cs | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskHelpMethods.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskHelpMethods.cs"
index cc115e0..07e6933 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskHelpMethods.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskHelpMethods.cs"
@@ -5,7 +5,7 @@
using System.Threading.Tasks;
using WIDESEAWCS_Core;
using WIDESEAWCS_Core.Helper;
-using WIDESEAWCS_DTO.TaskInfo;
+using WIDESEAWCS_DTO.WMS;
namespace WIDESEAWCS_TaskInfoService
{
@@ -17,8 +17,8 @@
try
{
if (taskDTO.containerCode.IsNullOrEmpty()) throw new Exception("鏂欑鍙蜂笉鑳戒负绌�");
- if (taskDTO.toAreaCode.IsNullOrEmpty() || taskDTO.toLocationCode.IsNullOrEmpty()) throw new Exception("缁堢偣鍖哄煙鎴栫粓鐐逛綅缃笉鑳戒负绌�");
- if (isType) if (taskDTO.containerType.IsNullOrEmpty()) throw new Exception("鏂欑鍙蜂笉鑳戒负绌�");
+ if (taskDTO.toAreaCode.IsNullOrEmpty() && taskDTO.toLocationCode.IsNullOrEmpty()) throw new Exception("缁堢偣鍖哄煙鎴栫粓鐐逛綅缃笉鑳戒负绌�");
+ //if (isType) if (taskDTO.containerType.IsNullOrEmpty()) throw new Exception("鏂欑绫诲瀷涓嶈兘涓虹┖");
if (isfrom) if (taskDTO.fromLocationCode.IsNullOrEmpty()) throw new Exception("璧风偣浣嶇疆涓嶈兘涓虹┖");
}
catch (Exception ex)
--
Gitblit v1.9.3