From 3a8e1524dcf0eeb610d38123d5f0a3ef838379cd Mon Sep 17 00:00:00 2001 From: linzhijie <19970921lzj> Date: 星期一, 12 四月 2021 15:44:53 +0800 Subject: [PATCH] Merge branch '20210406-maqv2' into 20210412-youhua --- 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