public HashMap<String, Object> getUser_referList(PageData pd, ModelAndView mv) { Connection conn = MySQL.getConnectionReadOnly(true); HashMap<String, Object> list = null; HashMap<String, Object> rp = new HashMap<String, Object>(); WhereUtil whereUtil = new WhereUtil(); whereUtil.setAlias("m", "user"); whereUtil.setAlias("rm", "user"); whereUtil.setAlias("mi", "user_info"); whereUtil.parseSearchMap(pd, whereUtil, conn); HashMap<String, String> defaultMap = whereUtil.getCommonMap(); rp.put("paramCondition", whereUtil.getParamConditionList()); if (pd.rqst().containsKey("pagebar")) rp.put("pagebar", pd.rqst("pagebar")); mv.addObject("defaultMap", defaultMap); // 是否VIP baseService.isVip("isVip", whereUtil, pd, mv); // 注册时间 baseService.timeFrame("m.reg_time", whereUtil, pd, mv); try { list = thisDao.getUser_referList(conn, rp); } catch (Exception e) { logger.error("getUser_bankList失败", e); } finally { MySQL.closeConnection(conn); } return list; }