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