提交代码
This commit is contained in:
@@ -266,6 +266,16 @@ namespace FineUIPro.Web.HSSE.Check
|
||||
//// 根据明细ID判断是否全部整改完成 并更新专项检查状态
|
||||
Check_CheckSpecialService.UpdateCheckSpecialStates(getcheck.FirstOrDefault().CheckSpecialId);
|
||||
}
|
||||
// 回写施工作业风险
|
||||
if (!string.IsNullOrEmpty(getRectifyNotices.ControlId))
|
||||
{
|
||||
var constructionRiskControl = Funs.DB.HSSE_ConstructionRiskControl.FirstOrDefault(x => x.ControlId == getRectifyNotices.ControlId);
|
||||
if (constructionRiskControl != null)
|
||||
{
|
||||
constructionRiskControl.CheckResult = "符合";
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user