diff --git a/SGGL/FineUIPro.Web/ZHGL/Supervise/SuperviseCheckReport.aspx.cs b/SGGL/FineUIPro.Web/ZHGL/Supervise/SuperviseCheckReport.aspx.cs index 090e1109..0634c620 100644 --- a/SGGL/FineUIPro.Web/ZHGL/Supervise/SuperviseCheckReport.aspx.cs +++ b/SGGL/FineUIPro.Web/ZHGL/Supervise/SuperviseCheckReport.aspx.cs @@ -61,7 +61,8 @@ WHERE 1=1 "; var thisUnit = BLL.CommonService.GetIsThisUnit(); if (!string.IsNullOrEmpty(this.CurrUser.UnitId) && thisUnit.UnitId != this.CurrUser.UnitId) { - strSql += " AND P.UnitId = @UnitId"; + //strSql += " AND P.UnitId = @UnitId"; + strSql += " AND (U.UnitId = @UnitId or CU.UnitId = @UnitId)"; listStr.Add(new SqlParameter("@UnitId", this.CurrUser.UnitId)); } if (this.drpCheckMainType.SelectedValue != null && this.drpCheckMainType.SelectedValue != BLL.Const._Null)