<if test="user.username != null and user.username != ‘‘"> AND u.username = #{user.username} </if>
作用:if语句用于过滤掉前端的空数据
2021-08-28 00:41:28
<if test="user.username != null and user.username != ‘‘"> AND u.username = #{user.username} </if>
作用:if语句用于过滤掉前端的空数据