|
|
@@ -951,7 +951,11 @@ public class ClassGradeServiceImpl extends ServiceImpl<ClassGradeMapper, ClassGr
|
|
|
Integer plush = this.baseMapper.getPlush(bo);
|
|
|
HashMap<String, Object> stringObjectHashMap = new HashMap<>();
|
|
|
stringObjectHashMap.put("plush",plush);
|
|
|
- stringObjectHashMap.put("notPlush",classGradeStudentVos.size()-plush);
|
|
|
+ if (classGradeStudentVos.size()<=plush){
|
|
|
+ stringObjectHashMap.put("notPlush",0);
|
|
|
+ }else {
|
|
|
+ stringObjectHashMap.put("notPlush",classGradeStudentVos.size()-plush);
|
|
|
+ }
|
|
|
return stringObjectHashMap;
|
|
|
}
|
|
|
|