小班相关
加入我的收藏-单条限制
This commit is contained in:
@@ -4,7 +4,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.peanut.modules.common.entity.ClassEntity;
|
||||
import com.peanut.modules.common.entity.ClassModel;
|
||||
|
||||
import com.peanut.modules.common.entity.MyUserEntity;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@@ -18,6 +18,8 @@ public interface ClassEntityService extends IService<ClassEntity> {
|
||||
|
||||
List<ClassModel> getClassModelByUserid(Map<String ,Object> params);
|
||||
|
||||
List<ClassEntity> getClassByDirectorid(Map<String,Object> params);
|
||||
|
||||
Page getClassList(Map<String ,Object> params);
|
||||
|
||||
boolean addClass(Map<String ,Object> params);
|
||||
@@ -26,4 +28,18 @@ public interface ClassEntityService extends IService<ClassEntity> {
|
||||
|
||||
boolean setUserRole(Map<String ,Object> params);
|
||||
|
||||
boolean isDirector(MyUserEntity userEntity);
|
||||
|
||||
boolean isMonitor(MyUserEntity userEntity);
|
||||
|
||||
Object getClassInfo(Map<String ,Object> params);
|
||||
|
||||
List<ClassEntity> getClassByCourseIdNoUser(Map<String ,Object> params);
|
||||
|
||||
boolean joinClass(Map<String ,Object> params);
|
||||
|
||||
void quitClass(Map<String ,Object> params);
|
||||
|
||||
List<ClassEntity> MyClassList(Map<String ,Object> params);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user