| | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.ServletContext; |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpSession; |
| | | |
| | | import com.yeshi.buwan.util.SystemUtil; |
| | | import net.sf.json.JSONObject; |
| | | |
| | | import org.springframework.stereotype.Controller; |
| | |
| | | private static final String IMGPATH="/upload/class"; |
| | | |
| | | @RequestMapping("videoTypeList") |
| | | public void videoTypeList(int pageIndex,int detailsystem,int pid,PrintWriter out) { |
| | | public void videoTypeList(int pageIndex, int detailsystem, int pid, HttpSession session, PrintWriter out) { |
| | | if (pageIndex == 0) |
| | | pageIndex = 1; |
| | | |
| | | List<com.yeshi.buwan.domain.web.VideoTypeAdmin> list = classService.getVideoTypeAdmin(detailsystem, pid, |
| | | List<com.yeshi.buwan.domain.web.VideoTypeAdmin> list = classService.getVideoTypeAdmin(SystemUtil.getAdminSelectedSystemId(session), detailsystem, pid, |
| | | pageIndex); |
| | | |
| | | long count = classService.getVideoTypeAdminCount(detailsystem, pid); |