// 管理 查询 public String manageKbDiseaseFull() { log.info("exec action method:manageKbDiseaseFull"); // 分页查询 if (pageNo <= 0) { pageNo = 1; } page.setTotalCount(kbDiseaseService.countKbDiseaseRow()); if (page.getTotalpage() < pageNo) { pageNo = page.getTotalpage(); } page.setPageNo(pageNo); if (page.getTotalCount() != 0) { kbDiseaseFullList = kbDiseaseService.selectKbDiseaseFullByConditionAndPage("", page); } kbkeshiList = kbkeshiService.selectKbkeshiByCondition(""); System.out.println("kbkeshiList:" + kbkeshiList.size()); if (kbkeshiList == null) { kbkeshiList = new ArrayList<Kbkeshi>(); } if (kbDiseaseFullList == null) { kbDiseaseFullList = new ArrayList<KbDiseaseFull>(); } // for(int i = 0; i < computerhomeworkFullList.size(); i++){ // System.out.println("id="); // } if (callType != null && callType.equals("ajaxType")) { return "success2"; } else { return "success1"; } }
// 分页查询full public List<MedicineInformationsFmdFull> selectMedicineInformationsFmdFullByPage(Page page) { page.setTotalCount(baseDao.getRowCount(MedicineInformationsFmd.class)); return medicineInformationsFmdDao.selectMedicineInformationsFmdFullByPage(page); }