admin
2021-03-02 4011b8d0b377af33e2bc435f7726329630d706cb
src/main/java/com/yeshi/buwan/service/imp/HotVideoTypeService.java
@@ -26,22 +26,6 @@
   @Resource
   private SuperHotTypeDao superHotTypeDao;
   public SuperHotTypeDao getSuperHotTypeDao() {
      return superHotTypeDao;
   }
   public void setSuperHotTypeDao(SuperHotTypeDao superHotTypeDao) {
      this.superHotTypeDao = superHotTypeDao;
   }
   public HotTypeDao getHotTypeDao() {
      return hotTypeDao;
   }
   public void setHotTypeDao(HotTypeDao hotTypeDao) {
      this.hotTypeDao = hotTypeDao;
   }
   // 获取热门频道
   public List<HotVideoType> getHotTypeList() {
@@ -98,7 +82,7 @@
      return (List<HotTypeAdmin>) hotTypeDao.excute(new HibernateCallback() {
         public Object doInHibernate(Session session) throws HibernateException {
            List<HotTypeAdmin> hotTypeList = new ArrayList<HotTypeAdmin>();
            List<HotTypeAdmin> hotTypeList = new ArrayList<>();
            try {
               List<DetailSystem> detailSystemList = session.createQuery("from DetailSystem").list();
               String where = "";
@@ -121,7 +105,7 @@
                        .createQuery("select vb.detailSystem from SuperHotType vb where vb.hotType.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();