|
@@ -9,6 +9,7 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
import com.github.yulichang.wrapper.MPJLambdaWrapper;
|
|
import com.github.yulichang.wrapper.MPJLambdaWrapper;
|
|
import com.xjrsoft.common.enums.ArchivesStatusEnum;
|
|
import com.xjrsoft.common.enums.ArchivesStatusEnum;
|
|
|
|
+import com.xjrsoft.common.enums.DeleteMark;
|
|
import com.xjrsoft.common.enums.OutInStatusEnum;
|
|
import com.xjrsoft.common.enums.OutInStatusEnum;
|
|
import com.xjrsoft.common.enums.StudyStatusEnum;
|
|
import com.xjrsoft.common.enums.StudyStatusEnum;
|
|
import com.xjrsoft.common.model.result.RT;
|
|
import com.xjrsoft.common.model.result.RT;
|
|
@@ -85,7 +86,9 @@ public class StudentStatisticsController {
|
|
List<String> roleList = StpUtil.getRoleList();
|
|
List<String> roleList = StpUtil.getRoleList();
|
|
long teacherId = StpUtil.getLoginIdAsLong();
|
|
long teacherId = StpUtil.getLoginIdAsLong();
|
|
List<BaseClass> classList = baseClassService.list(
|
|
List<BaseClass> classList = baseClassService.list(
|
|
- new QueryWrapper<BaseClass>().lambda().eq(BaseClass::getTeacherId, teacherId)
|
|
|
|
|
|
+ new QueryWrapper<BaseClass>().lambda()
|
|
|
|
+ .eq(BaseClass::getTeacherId, teacherId)
|
|
|
|
+ .eq(BaseClass::getDeleteMark, DeleteMark.NODELETE.getCode())
|
|
);
|
|
);
|
|
if(roleList.size() == 2 && roleList.contains("CLASSTE") && roleList.contains("TEACHER")){
|
|
if(roleList.size() == 2 && roleList.contains("CLASSTE") && roleList.contains("TEACHER")){
|
|
if(classList != null && !classList.isEmpty()){
|
|
if(classList != null && !classList.isEmpty()){
|