| | |
| | | list.addAll(list1); |
| | | |
| | | if (list.size() == 0) { |
| | | |
| | | pageId = 0L; |
| | | } else { |
| | | |
| | | pageId = list.get(list.size() - 1).getId(); |
| | | |
| | | // 版本过滤 |
| | | int version = Integer.parseInt(acceptData.getVersion()); |
| | | String platform = acceptData.getPlatform().toLowerCase(); |
| | |
| | | * @param out |
| | | */ |
| | | @RequestMapping(value = "getClass") |
| | | //TODO 改进版本过高的问题 |
| | | public void getClass(String callback, AcceptData acceptData, PrintWriter out) { |
| | | if (acceptData.getSystem() == null) |
| | | acceptData.setSystem(SystemEnum.blks); |
| | |
| | | for (int i = 0; i < list.size(); i++) { |
| | | if (!sets.contains(list.get(i).getId())) { |
| | | list.remove(i--); |
| | | |
| | | } |
| | | } |
| | | } |