Index: ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/selectUser.jsp =================================================================== diff -u -r19179 -r22981 --- ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/selectUser.jsp (.../selectUser.jsp) (revision 19179) +++ ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/selectUser.jsp (.../selectUser.jsp) (revision 22981) @@ -14,12 +14,12 @@ List shiftTypes = httpOptionManager.getHttpOptionListById("shiftType"); request.setAttribute("shiftTypes",shiftTypes); String shiftType = request.getParameter("shiftType"); - String sql; + String sql ="handleDepartCoding='" +AcegiHelper.getCurrentOrgUnitCode()+ "'"; if (StringUtils.isBlank(shiftType) || "all".equals(shiftType)){ - sql = " 1=1 order by orderNum asc "; + sql += " and 1=1 order by orderNum asc "; } else { - sql = " shiftType = '" + shiftType + "' order by orderNum asc "; + sql += " and shiftType = '" + shiftType + "' order by orderNum asc "; } List list = printConfigManager.getByHql(sql);//.findPrintConfigBySql(sql); request.setAttribute("list",list);