Browse Source

完善保存

ywx
王宁 6 months ago
parent
commit
c9ecdce00e

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

207
                 }
207
                 }
208
             }
208
             }
209
             psq.setStuscore(stuscore);
209
             psq.setStuscore(stuscore);
210
+            psq.setAnswered(1);
210
         }
211
         }
211
     }
212
     }
212
 
213
 

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

103
 
103
 
104
     <!--获取试卷中主观题-->
104
     <!--获取试卷中主观题-->
105
     <select id="listQuestionZGT" resultType="com.xhkjedu.model.EPaperStudentQuestion">
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
     </select>
107
     </select>
108
 
108
 
109
     <!--获取学生试卷-->
109
     <!--获取学生试卷-->

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

28
 mapper.mappers=com.xhkjedu.base.TkMapper
28
 mapper.mappers=com.xhkjedu.base.TkMapper
29
 mapper.identity=MYSQL
29
 mapper.identity=MYSQL
30
 #\u6253\u5370\u65E5\u5FD7
30
 #\u6253\u5370\u65E5\u5FD7
31
-logging.level.com.xhkjedu.sexam.mapper=debug
31
+logging.level.com.xhkjedu.mapper=debug
32
 #\u5206\u9875
32
 #\u5206\u9875
33
 spring.pagehelper.helper-dialect=mysql
33
 spring.pagehelper.helper-dialect=mysql

Loading…
Cancel
Save