| | |
| | | import com.qxueyou.scc.base.model.Result; |
| | | import com.qxueyou.scc.teach.subject.model.Subject; |
| | | import com.qxueyou.scc.teach.subject.model.view.MySubjectV; |
| | | import com.qxueyou.scc.teach.subject.model.view.OpenSubjectV; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | public interface ISubjectService { |
| | |
| | | * 内容文件id |
| | | * @return |
| | | */ |
| | | Result add(String subjectName, String coverPageFileId, String contentFileId,int type); |
| | | Result add(String subjectName, String coverPageFileId, String contentFileId,int type,String startTime,String endTime); |
| | | |
| | | /** |
| | | * 修改课程 |
| | |
| | | * @return 返回课程列表 |
| | | */ |
| | | List<MySubjectV> listMySubjectV(String classId,String userId); |
| | | |
| | | /** |
| | | * 查询公开课程 |
| | | */ |
| | | List<OpenSubjectV> listOpenSubjectV(); |
| | | |
| | | /** |
| | | * 首页查询我的课程 |
| | |
| | | * @return |
| | | */ |
| | | public long getLectureCount(String subjectId); |
| | | |
| | | /** |
| | | * 获取课程名称 |
| | | * @param subjectId |
| | | * @return |
| | | */ |
| | | String findSubjectName(String subjectId); |
| | | } |