Index: ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/selectUser.jsp =================================================================== diff -u -r15632 -r19179 --- ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/selectUser.jsp (.../selectUser.jsp) (revision 15632) +++ ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/selectUser.jsp (.../selectUser.jsp) (revision 19179) @@ -16,12 +16,12 @@ String shiftType = request.getParameter("shiftType"); String sql; if (StringUtils.isBlank(shiftType) || "all".equals(shiftType)){ - sql = " where 1=1 order by orderNum asc "; + sql = " 1=1 order by orderNum asc "; } else { - sql = " where shiftType = '" + shiftType + "' order by orderNum asc "; + sql = " shiftType = '" + shiftType + "' order by orderNum asc "; } - List list = printConfigManager.findPrintConfigBySql(sql); + List list = printConfigManager.getByHql(sql);//.findPrintConfigBySql(sql); request.setAttribute("list",list); %>