From e212b9a790566fd35c40b8aa1074d7d9d7290b50 Mon Sep 17 00:00:00 2001 From: 10191 <506754232@qq.com> Date: Sun, 10 May 2026 13:52:04 +0800 Subject: [PATCH] 11 --- .../HJGL/DataIn/PipelineGrid.aspx.cs | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/HJGL_DS/FineUIPro.Web/HJGL/DataIn/PipelineGrid.aspx.cs b/HJGL_DS/FineUIPro.Web/HJGL/DataIn/PipelineGrid.aspx.cs index b765dd8..0f7ab4b 100644 --- a/HJGL_DS/FineUIPro.Web/HJGL/DataIn/PipelineGrid.aspx.cs +++ b/HJGL_DS/FineUIPro.Web/HJGL/DataIn/PipelineGrid.aspx.cs @@ -313,8 +313,23 @@ namespace FineUIPro.Web.HJGL.DataIn isoInfo.ISO_Executive = execStandards.Where(x => x.ExecStandardName == "GB 50517-2010").Select(x => x.ExecStandardId).FirstOrDefault(); } break; - case "材质": - isoInfo.STE_ID = steels.Where(x => x.STE_Code == row[dataColumn.ColumnName].ToString()).Select(x => x.STE_ID).FirstOrDefault(); + case "材质": + + var steel = steels.FirstOrDefault(x => x.STE_Code == row[dataColumn.ColumnName].ToString()); + if (steel != null) + { + isoInfo.STE_ID = steel.STE_ID; + if(steel.STE_SteelType == "FeⅣ") + { + isoInfo.IsHotType = "1"; + + } + else if (steel.STE_SteelType == "FeⅠ" || steel.STE_SteelType == "FeⅡ" || steel.STE_SteelType == "FeⅢ" ) + { + isoInfo.IsHotType = "2"; + + } + } break; case "材质标准": isoInfo.MaterialStandardId = materialStandards.Where(x => x.MaterialStandardName == row[dataColumn.ColumnName].ToString()||x.MaterialStandardCode == row[dataColumn.ColumnName].ToString()).Select(x => x.MaterialStandardId).FirstOrDefault();