|
@@ -771,6 +771,10 @@ public class StudentScoreServiceImpl extends ServiceImpl<StudentScoreDao, Studen
|
|
|
lw.eq(StudentScoreEntity::getSubjectCode, subjectCode);
|
|
|
lw.eq(StudentScoreEntity::getMainNumber, mainNumber);
|
|
|
lw.eq(StudentScoreEntity::getSubNumber, subNumber);
|
|
|
+ lw.and(wq -> {
|
|
|
+ wq.or(wq1 -> wq1.isNull(StudentScoreEntity::getScoreNone));
|
|
|
+ wq.or(wq2 -> wq2.eq(StudentScoreEntity::getScoreNone, false));
|
|
|
+ });
|
|
|
if(exZero!=null&&exZero) {
|
|
|
lw.and(wq -> {
|
|
|
wq.or(wq1 -> wq1.ne(StudentScoreEntity::getAiScore, 0));
|