月报优化

This commit is contained in:
夏菊 2026-04-29 11:10:03 +08:00
parent 10122c9386
commit ee29e01c04
1 changed files with 11 additions and 7 deletions

View File

@ -335,13 +335,17 @@ namespace FineUIPro.Web.ZHGL.Information
GetItems(report.MillionsMonthlyReportId); GetItems(report.MillionsMonthlyReportId);
foreach (var item in items) foreach (var item in items)
{ {
if (!string.IsNullOrEmpty(item.Name)) item.Affiliation = System.Web.HttpUtility.HtmlDecode(item.Affiliation);
{ item.Name = !string.IsNullOrWhiteSpace(item.Name) ? System.Web.HttpUtility.HtmlDecode(item.Name) : string.Empty;
item.Affiliation = System.Web.HttpUtility.HtmlDecode(item.Affiliation); MillionsMonthlyReportItemService.AddMillionsMonthlyReportItem(item);
item.Name = System.Web.HttpUtility.HtmlDecode(item.Name); mReportItemList.Add(item);
MillionsMonthlyReportItemService.AddMillionsMonthlyReportItem(item); //if (!string.IsNullOrEmpty(item.Name))
mReportItemList.Add(item); //{
} // 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") //数据同步 if (type == "updata") //数据同步
{ {