From ee29e01c040599c5e5fa855132d2acc96656c651 Mon Sep 17 00:00:00 2001 From: xiaju <1784803958@qq.com> Date: Wed, 29 Apr 2026 11:10:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=88=E6=8A=A5=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../MillionsMonthlyReportSave.aspx.cs | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/SGGL/FineUIPro.Web/ZHGL/Information/MillionsMonthlyReportSave.aspx.cs b/SGGL/FineUIPro.Web/ZHGL/Information/MillionsMonthlyReportSave.aspx.cs index 18de6a4c..9886bc42 100644 --- a/SGGL/FineUIPro.Web/ZHGL/Information/MillionsMonthlyReportSave.aspx.cs +++ b/SGGL/FineUIPro.Web/ZHGL/Information/MillionsMonthlyReportSave.aspx.cs @@ -335,13 +335,17 @@ namespace FineUIPro.Web.ZHGL.Information GetItems(report.MillionsMonthlyReportId); foreach (var item in items) { - if (!string.IsNullOrEmpty(item.Name)) - { - item.Affiliation = System.Web.HttpUtility.HtmlDecode(item.Affiliation); - item.Name = System.Web.HttpUtility.HtmlDecode(item.Name); - MillionsMonthlyReportItemService.AddMillionsMonthlyReportItem(item); - mReportItemList.Add(item); - } + item.Affiliation = System.Web.HttpUtility.HtmlDecode(item.Affiliation); + item.Name = !string.IsNullOrWhiteSpace(item.Name) ? System.Web.HttpUtility.HtmlDecode(item.Name) : string.Empty; + MillionsMonthlyReportItemService.AddMillionsMonthlyReportItem(item); + mReportItemList.Add(item); + //if (!string.IsNullOrEmpty(item.Name)) + //{ + // item.Affiliation = System.Web.HttpUtility.HtmlDecode(item.Affiliation); + // item.Name = System.Web.HttpUtility.HtmlDecode(item.Name); + // MillionsMonthlyReportItemService.AddMillionsMonthlyReportItem(item); + // mReportItemList.Add(item); + //} } if (type == "updata") //数据同步 {