/** * 取消的订课列表 * * @return */ @SuppressWarnings("unchecked") public String canceledRecords() { xyxx.setId(sid); page = new Page(); page.setCur(ct); page.setPageSize(Constants.PAGE_SIZE); skjl.setXyxx(xyxx); skjl.setLessonType(LessonTypeDto.getComplement()); Map<String, Object> result = commonService.getLessonRecords(page, skjl, Constants.LESSONRECORD_CANCEL); page = (Page) result.get(Constants.RESULT_MAP_PAGE); lessonRecords = (List<Skjl>) result.get(Constants.RESULT_MAP_LIST); return SUCCESS; }
/** * 查看已上课记录列表 * * @return */ @SuppressWarnings("unchecked") public String lessonRecords() { xyxx.setId(sid); page = new Page(); page.setCur(ct); page.setPageSize(Constants.PAGE_SIZE); skjl.setXyxx(xyxx); if (!StringUtils.isBlank(type)) { skjl.setLessonType(LessonTypeDto.getLessonType(type)); } if (!StringUtils.isBlank(kq)) { skjl.setKq(KqDto.getKq(kq)); } skjl.setSignDateStart(start); skjl.setSignDateEnd(end); Map<String, Object> result = commonService.getLessonRecords(page, skjl, Constants.LESSONRECORD_RECORD); page = (Page) result.get(Constants.RESULT_MAP_PAGE); lessonRecords = (List<Skjl>) result.get(Constants.RESULT_MAP_LIST); return SUCCESS; }