三库隐患记录取值改成从安全健康检查取

This commit is contained in:
2026-09-15 17:50:46 +08:00
parent 33462d35e8
commit fade838afa
6 changed files with 329 additions and 143 deletions
@@ -333,6 +333,13 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
BLL.LogService.AddSys_Log(this.CurrUser, register.HazardCode, register.HazardRegisterId, BLL.Const.HiddenRectificationMenuId, BLL.Const.BtnAdd);
}
//更新三库隐患记录
string message = string.Empty;
SanKuDataSummaryReportService.UpdateHazardRecord(register.HazardRegisterId, ref message);
if (!string.IsNullOrWhiteSpace(message))
{
ShowNotify(message, MessageBoxIcon.Warning);
}
//Project_HSSEData_HSSEService.StatisticalData(this.CurrUser.LoginProjectId, Project_HSSEData_HSSEService.HSSEDateType.SupervisionAndInspection);
if (isClosed)
{
@@ -204,6 +204,13 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
}
}
//更新三库隐患记录
string message = string.Empty;
SanKuDataSummaryReportService.UpdateHazardRecord(register.HazardRegisterId, ref message);
if (!string.IsNullOrWhiteSpace(message))
{
ShowNotify(message, MessageBoxIcon.Warning);
}
BLL.LogService.AddSys_Log(this.CurrUser, register.HazardCode, register.HazardRegisterId, BLL.Const.HiddenRectificationMenuId, BLL.Const.BtnModify);
@@ -159,6 +159,13 @@ namespace FineUIPro.Web.HiddenInspection
register.Rectification = this.txtRectification.Text.Trim();
register.RectificationTime = DateTime.Now;
BLL.HSSE_Hazard_HazardRegisterService.UpdateHazardRegister(register);
//更新三库隐患记录
string message = string.Empty;
SanKuDataSummaryReportService.UpdateHazardRecord(register.HazardRegisterId, ref message);
if (!string.IsNullOrWhiteSpace(message))
{
ShowNotify(message, MessageBoxIcon.Warning);
}
BLL.LogService.AddSys_Log(this.CurrUser, register.HazardCode, register.HazardRegisterId, BLL.Const.HSSE_HiddenRectificationListMenuId, BLL.Const.BtnModify);
if (isClosed)
{