提交代码

This commit is contained in:
2024-09-24 11:28:27 +08:00
parent 24de50cd30
commit 0865c7e41e
54 changed files with 5535 additions and 784 deletions
@@ -160,7 +160,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
this.ControlId = Request.Params["ControlId"];
if (!string.IsNullOrEmpty(ControlId))
{
var control = Funs.DB.HSSE_ConstructionRiskControl.FirstOrDefault(x => x.ControlId == ControlId);
var control = Funs.DB.HSSE_ConstructionRiskCheck.FirstOrDefault(x => x.ConstructionRiskCheckId == ControlId);
if (control != null)
{
var risk = Funs.DB.HSSE_ConstructionRisk.FirstOrDefault(x => x.ConstructionRiskId == control.ConstructionRiskId);