2020年2月15日

mybatis mapper.xml中的if判断

摘要: <if test="user.username != null and user.username != ''"> AND u.username = #{user.username} </if> 作用:if语句用于过滤掉前端的空数据 阅读全文

posted @ 2020-02-15 10:00 王行行 阅读(3178) 评论(0) 推荐(0) 编辑

导航