This commit is contained in:
geh
2026-03-23 15:22:29 +08:00
parent 94584d242b
commit c38590add8
173 changed files with 19679 additions and 4413 deletions
@@ -576,6 +576,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
else
{
BLL.HSSE_Hazard_HazardRegisterService.DeleteHazardRegisterByHazardRegisterId(rowID);
BLL.RewardAndPunishService.DeleteRewardAndPunishByHazardRegisterId(rowID);
}
//}
//else
@@ -598,6 +599,19 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
#endregion
#region
protected string ConvertIsOverdue(object statesStr,object rectificationPeriod)
{
string IsOverdue = "否";
if (rectificationPeriod != null && DateTime.TryParse(rectificationPeriod.ToString(), out DateTime rectificationDate))
{
if (rectificationDate < DateTime.Now && statesStr.ToString() == "待整改")
{
IsOverdue = "是";
}
}
return IsOverdue;
}
/// <summary>
/// 获取整改前图片
/// </summary>