<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
猜你喜欢
  • 2022-03-03
  • 2022-12-23
  • 2021-09-22
  • 2022-12-23
  • 2021-10-30
  • 2021-10-15
  • 2022-03-06
相关资源
相似解决方案