From ae4aec95169d3994936e0f03a1bb68ea6a010480 Mon Sep 17 00:00:00 2001 From: gaofei1985 <181547018@qq.com> Date: Mon, 28 Jul 2025 09:15:30 +0800 Subject: [PATCH] 1 --- HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj.user | 2 +- .../FineUIPro.Web/WeldMat/UsingPlan/UsingPlanImport.aspx.cs | 4 ++-- HJGL_DS/WebAPI/WebAPI.csproj.user | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj.user b/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj.user index 8aa7c11..bf54086 100644 --- a/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj.user +++ b/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj.user @@ -2,7 +2,7 @@ true - Release|Any CPU + Debug|Any CPU diff --git a/HJGL_DS/FineUIPro.Web/WeldMat/UsingPlan/UsingPlanImport.aspx.cs b/HJGL_DS/FineUIPro.Web/WeldMat/UsingPlan/UsingPlanImport.aspx.cs index d566e7b..5ad37b8 100644 --- a/HJGL_DS/FineUIPro.Web/WeldMat/UsingPlan/UsingPlanImport.aspx.cs +++ b/HJGL_DS/FineUIPro.Web/WeldMat/UsingPlan/UsingPlanImport.aspx.cs @@ -398,8 +398,8 @@ namespace FineUIPro.Web.WeldMat.UsingPlan if (ds.Tables[0].Rows[i]["时间段"] != null && !string.IsNullOrEmpty(ds.Tables[0].Rows[i]["时间段"].ToString())) { string strTime = ds.Tables[0].Rows[i]["时间段"].ToString(); - - if (BLL.DropListService.OrderTimeList().Any(x => x.Value == strTime)) + var t = BLL.DropListService.OrderTimeList().FirstOrDefault(x => x.Value == strTime); + if (t != null) { usingPlan.OrderTime = strTime; } diff --git a/HJGL_DS/WebAPI/WebAPI.csproj.user b/HJGL_DS/WebAPI/WebAPI.csproj.user index 28be9c4..a48b337 100644 --- a/HJGL_DS/WebAPI/WebAPI.csproj.user +++ b/HJGL_DS/WebAPI/WebAPI.csproj.user @@ -1,7 +1,7 @@  - Release|Any CPU + Debug|Any CPU FolderProfile true