| | |
| | | import java.util.List; |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpSession; |
| | | |
| | | import com.yeshi.buwan.util.SystemUtil; |
| | | import org.springframework.stereotype.Controller; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestMethod; |
| | | |
| | | import com.yeshi.buwan.domain.DetailSystem; |
| | | import com.yeshi.buwan.domain.system.DetailSystem; |
| | | import com.yeshi.buwan.domain.VideoInfo; |
| | | import com.yeshi.buwan.service.imp.SystemService; |
| | | import com.yeshi.buwan.service.imp.VideoService; |
| | |
| | | } |
| | | |
| | | @RequestMapping(value = "/detailsystemlist", method = RequestMethod.POST) |
| | | public void detailSystemList(String key, PrintWriter out) { |
| | | List<DetailSystem> list = systemService.getDetailSystemList(); |
| | | public void detailSystemList(String key, HttpSession session, PrintWriter out) { |
| | | List<DetailSystem> list = systemService.getDetailSystemList(SystemUtil.getAdminSelectedSystem(session).getId()); |
| | | JSONArray array = new JSONArray(); |
| | | if (list != null) |
| | | for (DetailSystem system : list) { |