1
dengjunjie
2026-04-01 4a574cd38860e7260f9349f9770c87d27dfdeeaf
´úÂë¹ÜÀí/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskHelpMethods.cs
@@ -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)