Explorar el Código

获取教师批阅数量

ywx
雍文秀 hace 1 mes
padre
commit
18122530b0

+ 2
- 2
smarking/src/main/resources/mapper/papercheck/MsPaperCheckTeacherTaskMapper.xml Ver fichero

@@ -574,8 +574,8 @@
574 574
     <select id="getCheckNum" resultType="com.xhkjedu.smarking.model.papercheck.MsPaperCheckTeacher">
575 575
         <if test="param.dispenseway!=null and param.dispenseway!=2">
576 576
             select count(pctt.mpcttid) as tasknum,count(if(pctt.checkstate=3,1,null)) as checkednum
577
-            from ms_paper_check_teacher pct left join ms_paper_check_teacher_task pctt on pct.mpid=pctt.mpid and pct.teacherid=pctt.teacherid pct.mblockid=pctt.mblockid
578
-            where pct.mpid=#{param.mpid} and pct.teacherid=#{param.handleid} and pct.mblockid=#{param.mblockid}
577
+            from ms_paper_check_teacher pct left join ms_paper_check_teacher_task pctt on pct.mpid=pctt.mpid and pct.teacherid=pctt.teacherid and pct.mblockid=pctt.mblockid
578
+            where pct.mpid=#{param.mpid} and pct.teacherid=#{param.teacherid} and pct.mblockid=#{param.mblockid}
579 579
         </if>
580 580
         <if test="param.dispenseway!=null and param.dispenseway==2">
581 581
             <if test="param.correcttype==3">

Loading…
Cancelar
Guardar