夏文涛 2 jaren geleden
bovenliggende
commit
0e77501716
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      src/main/java/com/template/services/impl/SmartEvaluateStudentServiceImpl.java

+ 2 - 2
src/main/java/com/template/services/impl/SmartEvaluateStudentServiceImpl.java

@@ -94,7 +94,7 @@ public class SmartEvaluateStudentServiceImpl extends ServiceImpl<SmartEvaluateSt
         QueryWrapper<SmartEvaluateStudent> queryWrapper = new QueryWrapper<>();
         queryWrapper.in("user_id",userIds);
         queryWrapper.in("term_id",semesterIds);
-        queryWrapper.in("exam_type",examTypes);
+        queryWrapper.in("exam_type_id",examTypes);
         List<SmartEvaluateStudent> evaluateStudents = smartEvaluateStudentMapper.selectList(queryWrapper);
         return evaluateStudents;
     }
@@ -110,7 +110,7 @@ public class SmartEvaluateStudentServiceImpl extends ServiceImpl<SmartEvaluateSt
         QueryWrapper<SmartEvaluateStudent> queryWrapper = new QueryWrapper<>();
         queryWrapper.in("user_id",userId);
         queryWrapper.in("term_id",semesterId);
-        queryWrapper.in("exam_type",examType);
+        queryWrapper.in("exam_type_id",examType);
         SmartEvaluateStudent result = smartEvaluateStudentMapper.selectOne(queryWrapper);
         return result;
     }