<if test="user.username != null and user.username != ''"> AND u.username = #{user.username} </if> 作用:if语句用于过滤掉前端的空数据 相关文章: 2022-12-23 2020-07-28 2021-08-03 2021-10-23 2021-06-07 2022-12-23 2022-12-23 2019-09-29