王宁 6 mesi fa
parent
commit
c9ecdce00e

+ 1
- 0
src/main/java/com/xhkjedu/service/EPaperVerifyService.java Vedi File

@@ -207,6 +207,7 @@ public class EPaperVerifyService {
207 207
                 }
208 208
             }
209 209
             psq.setStuscore(stuscore);
210
+            psq.setAnswered(1);
210 211
         }
211 212
     }
212 213
 

+ 1
- 1
src/main/resources/EPaperVerifyMapper.xml Vedi File

@@ -103,7 +103,7 @@
103 103
 
104 104
     <!--获取试卷中主观题-->
105 105
     <select id="listQuestionZGT" resultType="com.xhkjedu.model.EPaperStudentQuestion">
106
-        select * from e_paper_student_question0608 where epid=#{epid} and studentid=#{studentid}
106
+        select * from e_paper_student_question0608 where epid=#{epid} and studentid=#{studentid} and ctype not in (1,2)
107 107
     </select>
108 108
 
109 109
     <!--获取学生试卷-->

+ 1
- 1
src/main/resources/application.properties Vedi File

@@ -28,6 +28,6 @@ mybatis.configuration.call-setters-on-nulls=true
28 28
 mapper.mappers=com.xhkjedu.base.TkMapper
29 29
 mapper.identity=MYSQL
30 30
 #\u6253\u5370\u65E5\u5FD7
31
-logging.level.com.xhkjedu.sexam.mapper=debug
31
+logging.level.com.xhkjedu.mapper=debug
32 32
 #\u5206\u9875
33 33
 spring.pagehelper.helper-dialect=mysql

Loading…
Annulla
Salva