|
@@ -9,6 +9,7 @@ import com.yonge.cooleshow.biz.dal.dto.req.TeacherSubmitReq;
|
|
|
import com.yonge.cooleshow.biz.dal.dto.search.TeacherSearch;
|
|
|
import com.yonge.cooleshow.biz.dal.entity.Subject;
|
|
|
import com.yonge.cooleshow.biz.dal.entity.Teacher;
|
|
|
+import com.yonge.cooleshow.biz.dal.enums.YesOrNoEnum;
|
|
|
import com.yonge.cooleshow.biz.dal.vo.TeacherHomeVo;
|
|
|
import com.yonge.cooleshow.biz.dal.vo.TeacherTotalVo;
|
|
|
import com.yonge.cooleshow.biz.dal.vo.TeacherVo;
|
|
@@ -19,10 +20,11 @@ import java.util.List;
|
|
|
|
|
|
/**
|
|
|
* 教师表 服务类
|
|
|
+ *
|
|
|
* @author liweifan
|
|
|
* @date 2022-03-18
|
|
|
*/
|
|
|
-public interface TeacherService extends IService<Teacher> {
|
|
|
+public interface TeacherService extends IService<Teacher> {
|
|
|
/***
|
|
|
* 查询老师详情
|
|
|
* @author liweifan
|
|
@@ -31,12 +33,15 @@ public interface TeacherService extends IService<Teacher> {
|
|
|
* @return: com.yonge.cooleshow.biz.dal.vo.TeacherVo
|
|
|
*/
|
|
|
TeacherVo detail(Long userId);
|
|
|
+
|
|
|
/**
|
|
|
* 自定义分页
|
|
|
+ *
|
|
|
* @author liweifan
|
|
|
- * @date 2022-03-18
|
|
|
+ * @date 2022-03-18
|
|
|
*/
|
|
|
IPage<TeacherVo> selectPage(IPage<TeacherVo> page, TeacherSearch teacher);
|
|
|
+
|
|
|
/***
|
|
|
* 管理端新增、修改老师信息
|
|
|
* @author liweifan
|
|
@@ -45,6 +50,7 @@ public interface TeacherService extends IService<Teacher> {
|
|
|
* @return: com.yonge.cooleshow.common.entity.HttpResponseResult<java.lang.Boolean>
|
|
|
*/
|
|
|
HttpResponseResult<Boolean> submit(TeacherSubmitReq teacherSubmitReq);
|
|
|
+
|
|
|
/***
|
|
|
* 查询老师首页统计信息
|
|
|
* @author liweifan
|
|
@@ -53,6 +59,7 @@ public interface TeacherService extends IService<Teacher> {
|
|
|
* @return: com.yonge.cooleshow.biz.dal.vo.TeacherHomeVo
|
|
|
*/
|
|
|
HttpResponseResult<TeacherHomeVo> queryUserInfo(Long userId);
|
|
|
+
|
|
|
/***
|
|
|
* 开通直播
|
|
|
* @author liweifan
|
|
@@ -63,21 +70,14 @@ public interface TeacherService extends IService<Teacher> {
|
|
|
HttpResponseResult<Boolean> openLive(Long id);
|
|
|
|
|
|
/**
|
|
|
- * @description: 获取老师可授课声部列表
|
|
|
* @param userId
|
|
|
- * @return com.yonge.cooleshow.common.entity.HttpResponseResult<java.util.List<com.yonge.cooleshow.biz.dal.entity.Subject>>
|
|
|
- * @author zx
|
|
|
- * @date 2022/3/25 09:37
|
|
|
- */
|
|
|
- List<Subject> querySubject(Long userId);
|
|
|
- /***
|
|
|
- * 查询老师个人风采
|
|
|
- * @author liweifan
|
|
|
- * @param: id
|
|
|
- * @updateTime 2022/4/8 14:11
|
|
|
- * @return: com.yonge.cooleshow.common.entity.HttpResponseResult<com.yonge.cooleshow.biz.dal.vo.TeacherVo>
|
|
|
+ * @return com.yonge.cooleshow.common.entity.HttpResponseResult<java.util.List < com.yonge.cooleshow.biz.dal.entity.Subject>>
|
|
|
+ * @description: 获取老师可授课声部列表
|
|
|
+ * @author zx
|
|
|
+ * @date 2022/3/25 09:37
|
|
|
*/
|
|
|
- HttpResponseResult<TeacherVo> queryTeacherStyle(Long id);
|
|
|
+ List<Subject> querySubject(Long userId);
|
|
|
+
|
|
|
/***
|
|
|
* 设置声部
|
|
|
* @author liweifan
|
|
@@ -87,6 +87,7 @@ public interface TeacherService extends IService<Teacher> {
|
|
|
* @return: java.lang.Integer
|
|
|
*/
|
|
|
Integer setSubject(Long id, String subjectIds);
|
|
|
+
|
|
|
/***
|
|
|
* 查询教师基本信息
|
|
|
* @author liweifan
|
|
@@ -95,7 +96,7 @@ public interface TeacherService extends IService<Teacher> {
|
|
|
* @updateTime 2022/4/26 17:03
|
|
|
* @return: com.yonge.cooleshow.common.entity.HttpResponseResult<com.yonge.cooleshow.biz.dal.vo.TeacherHomeVo>
|
|
|
*/
|
|
|
- HttpResponseResult<TeacherHomeVo> queryTeacherHome(Long studentId , Long teacherId);
|
|
|
+ HttpResponseResult<TeacherHomeVo> queryTeacherHome(Long studentId, Long teacherId);
|
|
|
|
|
|
/***
|
|
|
* 保存老师风采信息
|