| | |
| | | */ |
| | | |
| | | @SuppressWarnings("unchecked") |
| | | public List<com.yeshi.buwan.domain.web.VideoTypeAdmin> getVideoTypeAdmin(final int detailSystem, final int pid, |
| | | public List<com.yeshi.buwan.domain.web.VideoTypeAdmin> getVideoTypeAdmin(final String systemId, final int detailSystem, final int pid, |
| | | final int page) { |
| | | return (List<com.yeshi.buwan.domain.web.VideoTypeAdmin>) videoTypeDao |
| | | .excute(new HibernateCallback<List<com.yeshi.buwan.domain.web.VideoTypeAdmin>>() { |
| | |
| | | throws HibernateException { |
| | | List<com.yeshi.buwan.domain.web.VideoTypeAdmin> hotTypeList = new ArrayList<com.yeshi.buwan.domain.web.VideoTypeAdmin>(); |
| | | try { |
| | | List<DetailSystem> detailSystemList = session.createQuery("from DetailSystem").list(); |
| | | List<DetailSystem> detailSystemList = session.createQuery("from DetailSystem ds where ds.system.id=" + systemId).list(); |
| | | String where = ""; |
| | | |
| | | List<VideoType> list = null; |