|
@@ -946,12 +946,11 @@ public class ClassGradeServiceImpl extends ServiceImpl<ClassGradeMapper, ClassGr
|
|
|
|
|
|
@Override
|
|
|
public HashMap<String, Object> getPlush(ClassGradeUserQueryBo bo) {
|
|
|
- List<ClassGradeStudentVo> classGradeStudentVos = this.listGrade(bo);
|
|
|
+ List<ClassGradeStudentVo> classGradeStudentVos = this.baseMapper.listGradeAll(bo);
|
|
|
bo.setPeriodPlush(1);
|
|
|
Integer plush = this.baseMapper.getPlush(bo);
|
|
|
HashMap<String, Object> stringObjectHashMap = new HashMap<>();
|
|
|
stringObjectHashMap.put("plush",plush);
|
|
|
- bo.setPeriodPlush(0);
|
|
|
stringObjectHashMap.put("notPlush",classGradeStudentVos.size()-plush);
|
|
|
return stringObjectHashMap;
|
|
|
}
|