@Transactional @Override public Paging getRecommendMatch(Paging p, String matchType) { // TODO Auto-generated method stub String mType = ""; if (StringUtils.isNotBlank(matchType)) { if (MatchType.fb.name().equals(matchType)) { mType = LotteryId.JCZQ.name(); } else if (MatchType.bb.name().equals(matchType)) { mType = LotteryId.JCLQ.name(); } else if (MatchType.bjdc.name().equals(matchType)) { mType = LotteryId.BJDC.name(); } } Integer count = lotteryHomeRecommendDao.getLtLotteryHomeRecommendCount(mType); p.setTotalCount(count); List<Object[]> relist = lotteryHomeRecommendDao.getLtLotteryHomeRecommendBy(p, mType); List<LtLotteryHomeRecommendVo> list = fillData(relist); getMatchInfo(list, p); return p; }