linzhijie
2021-04-12 3a8e1524dcf0eeb610d38123d5f0a3ef838379cd
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>