| | |
| | | return (List<CategoryRecommendVideoAdmin>) categoryRecommendVideoDao |
| | | .excute(new HibernateCallback<List<CategoryRecommendVideoAdmin>>() { |
| | | public List<CategoryRecommendVideoAdmin> doInHibernate(Session session) throws HibernateException { |
| | | List<CategoryRecommendVideoAdmin> zhiBoClassList = new ArrayList<CategoryRecommendVideoAdmin>(); |
| | | List<CategoryRecommendVideoAdmin> zhiBoClassList = new ArrayList<>(); |
| | | try { |
| | | List<DetailSystem> detailSystemList = session.createQuery("from DetailSystem").list(); |
| | | String sql = ""; |
| | |
| | | "select vb.detailSystem from SuperCategoryRecommendVideo vb where vb.categoryRecommendVideo.id=?") |
| | | .setParameter(0, vb.getId()).list(); |
| | | |
| | | List<DetailSystemSelect> dssList = new ArrayList<DetailSystemSelect>(); |
| | | List<DetailSystemSelect> dssList = new ArrayList<>(); |
| | | |
| | | for (DetailSystem ds : detailSystemList) { |
| | | DetailSystemSelect dss = new DetailSystemSelect(); |