Browse Source

发布考试

tags/正式版本
雍文秀 2 years ago
parent
commit
060304be30
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      sexam/src/main/resources/mapper/exam/EBaseMapper.xml

+ 1
- 1
sexam/src/main/resources/mapper/exam/EBaseMapper.xml View File

@@ -63,7 +63,7 @@
63 63
     <select id="getExamStateById" resultType="com.xhkjedu.sexam.vo.exam.EBaseVo">
64 64
         select eb.examid,eb.examname,eb.gradeid,eb.examstate,eb.schoolid,eb.exammode
65 65
         ,count(case when es.esstate!=1 then es.esid else null end)wwcnum
66
-        ,(case when eb.exammode=1 then min(ep.answered) else 0 end)answered
66
+        ,(case when eb.exammode=1 then min(ep.answered) else 1 end)answered
67 67
         ,min(ifnull(UNIX_TIMESTAMP(concat(es.sdate,' ',es.begintime)),0))begintime
68 68
         from e_base eb left join e_subject es on eb.examid = es.examid
69 69
         left join e_paper ep on es.esid = ep.esid

Loading…
Cancel
Save