代码无效引用清理,试压包资料界面看板修改

This commit is contained in:
2025-10-10 14:33:21 +08:00
parent 87fb529521
commit 55b798135c
933 changed files with 5897 additions and 7541 deletions
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace FineUIPro.Web.InformationProject
{
@@ -68,7 +63,7 @@ namespace FineUIPro.Web.InformationProject
if (millionsMonthlyReport.Year != null)
{
var constValue = BLL.ConstValue.GetConstByConstValueAndGroupId(millionsMonthlyReport.Year.ToString(), BLL.ConstValue.Group_0008);
if (constValue!=null)
if (constValue != null)
{
this.txtYear.Text = constValue.ConstText;
}
@@ -122,7 +117,7 @@ namespace FineUIPro.Web.InformationProject
if (millionsMonthlyReport.MinorAccidentLossHour != null)
{
this.txtMinorAccidentLossHour.Text = Convert.ToString(millionsMonthlyReport.MinorAccidentLossHour);
}
}
if (millionsMonthlyReport.DeathAccidentNum != null)
{
this.txtDeathAccidentNum.Text = Convert.ToString(millionsMonthlyReport.DeathAccidentNum);
@@ -131,7 +126,7 @@ namespace FineUIPro.Web.InformationProject
{
this.txtDeathAccidentPersonNum.Text = Convert.ToString(millionsMonthlyReport.DeathAccidentPersonNum);
}
if (millionsMonthlyReport.DeathAccidentLossHour!= null)
if (millionsMonthlyReport.DeathAccidentLossHour != null)
{
this.txtDeathAccidentLossHour.Text = Convert.ToString(millionsMonthlyReport.DeathAccidentLossHour);
}
@@ -254,7 +249,7 @@ namespace FineUIPro.Web.InformationProject
if (!string.IsNullOrEmpty(millionsMonthlyReport.CompileMan))
{
var user = BLL.Person_PersonsService.GetPerson_PersonsById(millionsMonthlyReport.CompileMan);
if (user!=null)
if (user != null)
{
this.txtCompileManName.Text = user.PersonName;
}