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}
             </if>
         </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 id="examInvigilateCallQueryCount" resultType="java.lang.Integer">