升级
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user