From 5e873863bc7324894c89b0a0fc77a6202c91cd64 Mon Sep 17 00:00:00 2001
From: wzp <516075396@qq.com>
Date: 星期二, 06 四月 2021 10:35:42 +0800
Subject: [PATCH] 20210406

---
 src/main/resources/mybatis/exam/EntTestMemberMapper.xml |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mybatis/exam/EntTestMemberMapper.xml b/src/main/resources/mybatis/exam/EntTestMemberMapper.xml
index 0a10334..bd7c75d 100644
--- a/src/main/resources/mybatis/exam/EntTestMemberMapper.xml
+++ b/src/main/resources/mybatis/exam/EntTestMemberMapper.xml
@@ -69,7 +69,11 @@
             <if test="memberEmail != null  and memberEmail != ''"> and m.member_email like concat('%',   #{memberEmail}, '%')</if>
             <if test="memberPhone != null  and memberPhone != ''"> and m.member_phone like concat('%',   #{memberPhone}, '%')</if>
             <if test="testId != null "> and m.test_id = #{testId}</if>
-            <if test="status != null  and status != ''"> and m.status = #{status}</if>
+            <if test="statusList != null "> and m.status in
+                <foreach item="status" collection="statusList" open="(" separator="," close=")">
+                    #{status}
+                </foreach>
+            </if>
             <if test="userId != null  and userId != ''"> and u.user_id = #{userId}</if>
         </where>
     </select>

--
Gitblit v1.9.1