wangliang 4 年之前
父节点
当前提交
50b0f5c9ff
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      themis-business/src/main/resources/mapper/TIeExamInvigilateCallMapper.xml

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

@@ -35,7 +35,9 @@
                 and tieic.call_status = #{callStatus}
                 and tieic.call_status = #{callStatus}
             </if>
             </if>
         </where>
         </where>
-        and (toer.status <![CDATA[ <> ]]> 'FINISHED' and toer.status <![CDATA[ <> ]]> 'PERSISTED')
+        <if test="callStatus != null and callStatus != '' and callStatus = 'START'">
+            and (toer.status <![CDATA[ <> ]]> 'FINISHED' and toer.status <![CDATA[ <> ]]> 'PERSISTED')
+        </if>
     </select>
     </select>
 
 
     <select id="examInvigilateCallQueryCount" resultType="java.lang.Integer">
     <select id="examInvigilateCallQueryCount" resultType="java.lang.Integer">