| | |
| | | } |
| | | } |
| | | |
| | | public Result updateLecturetime(String targetId) { |
| | | |
| | | ClsSubjectLecture lecture = read(ClsSubjectLecture.class, targetId); |
| | | |
| | | |
| | | TraceUtils.setUpdateTrace(lecture); |
| | | |
| | | lecture.setUpdateTime(new Date()); |
| | | lecture.setUpdator(ClientUtils.getUserId()); |
| | | save(lecture); |
| | | |
| | | return new Result(true, "success"); |
| | | } |
| | | @Override |
| | | public Result updateLecture(String lectureId, String resId) { |
| | | |
| | |
| | | |
| | | @Override |
| | | public Result doStudy(String clsLectureId, Double from, Double to) { |
| | | return progressService.addProgress(Progress.PROGRESS_TYPE_LECTURE, clsLectureId, from.doubleValue(), to.doubleValue(), |
| | | return progressService.addProgress(Progress.PROGRESS_TYPE_LECTURE, clsLectureId, from.intValue(), to.intValue(), |
| | | ClientUtils.getUserId()); |
| | | } |
| | | |