wangliang 4 жил өмнө
parent
commit
50b0f5c9ff

+ 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">