提交代码
This commit is contained in:
@@ -98,12 +98,12 @@ namespace FineUIPro.Web.HSSE.Check
|
||||
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);
|
||||
drpWorkAreaId.SelectedValue = risk.WorkAreaId;
|
||||
drpUnitId.SelectedValue= risk.UnitId;
|
||||
drpUnitId.SelectedValue = risk.UnitId;
|
||||
List<Model.Check_RectifyNoticesItem> view = getViewTestPlanTrainingList();
|
||||
var item = new Check_RectifyNoticesItem
|
||||
{
|
||||
@@ -117,7 +117,7 @@ namespace FineUIPro.Web.HSSE.Check
|
||||
Grid1.DataBind();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user