change hace 3 años
padre
commit
9590122b0a

+ 6 - 1
zhongzheng-system/src/main/resources/mapper/modules/exam/ExamBeforeMapper.xml

@@ -112,6 +112,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             exam_before eb
                 LEFT JOIN exam_before_url ebu on eb.before_url=ebu.before_url_id
         where 1=1
-          and eb.before_id = #{beforeId}
+        <if test="status != null and status.size()!=0 ">
+            AND eb.status in
+            <foreach collection="status" item="item" index="index" open="(" close=")" separator=",">
+                #{item}
+            </foreach>
+        </if>
     </select>
 </mapper>