Browse Source

修改评卷考生查询方法名

luoshi 4 years ago
parent
commit
32d36b4f8c

+ 1 - 1
themis-business/src/main/java/com/qmth/themis/business/dao/TEExamStudentMapper.java

@@ -118,6 +118,6 @@ public interface TEExamStudentMapper extends BaseMapper<TEExamStudent> {
             @Param("activityId") Long activityId, @Param("identity") String identity, @Param("name") String name,
             @Param("courseCode") String courseCode);
 
-    public List<TEExamStudentDto> findExamStudentIdsNeedMark(@Param("examId") Long examId,
+    public List<TEExamStudentDto> findExamStudentNeedMark(@Param("examId") Long examId,
             @Param("courseCode") String courseCode, @Param("idGt") Long idGt, @Param("count") Integer count);
 }

+ 1 - 1
themis-business/src/main/java/com/qmth/themis/business/service/TEExamStudentService.java

@@ -97,5 +97,5 @@ public interface TEExamStudentService extends IService<TEExamStudent> {
     public List<MarkResultSimpleExportDto> markResultQueryExport(Long examId, Long activityId, String identity,
             String name, String courseCode);
 
-    public List<TEExamStudentDto> findExamStudentIdsNeedMark(Long examId, String courseCode, Long idGt, Integer count);
+    public List<TEExamStudentDto> findExamStudentNeedMark(Long examId, String courseCode, Long idGt, Integer count);
 }

+ 2 - 2
themis-business/src/main/java/com/qmth/themis/business/service/impl/TEExamStudentServiceImpl.java

@@ -186,7 +186,7 @@ public class TEExamStudentServiceImpl extends ServiceImpl<TEExamStudentMapper, T
     }
 
     @Override
-    public List<TEExamStudentDto> findExamStudentIdsNeedMark(Long examId, String courseCode, Long idGt, Integer count) {
-        return teExamStudentMapper.findExamStudentIdsNeedMark(examId, courseCode, idGt, count);
+    public List<TEExamStudentDto> findExamStudentNeedMark(Long examId, String courseCode, Long idGt, Integer count) {
+        return teExamStudentMapper.findExamStudentNeedMark(examId, courseCode, idGt, count);
     }
 }

+ 1 - 1
themis-business/src/main/java/com/qmth/themis/business/service/impl/TEOpenServiceImpl.java

@@ -199,7 +199,7 @@ public class TEOpenServiceImpl implements TEOpenService {
         final Map<Long, Map<String, Integer>> paperStructMap = new HashMap<>();
         //查询需要参与评卷的考生
         List<TEExamStudentDto> examStudents = examStudentService
-                .findExamStudentIdsNeedMark(examId, courseCode, idGt, count);
+                .findExamStudentNeedMark(examId, courseCode, idGt, count);
         if (examStudents != null) {
             for (TEExamStudentDto examStudent : examStudents) {
                 JSONObject obj = new JSONObject();

+ 1 - 1
themis-business/src/main/resources/mapper/TEExamStudentMapper.xml

@@ -370,7 +370,7 @@
         <include refid="markResultCommon"/>
     </select>
 
-    <select id="findExamStudentIdsNeedMark" resultType="com.qmth.themis.business.dto.response.TEExamStudentDto">
+    <select id="findExamStudentNeedMark" resultType="com.qmth.themis.business.dto.response.TEExamStudentDto">
         select
         tees.id,
         tees.name,