mybatis判断是否为空或null

迈不过友情╰ 2022-04-06 13:17 718阅读 0赞

  mybatis判断是否为空或null

  1. <if test="type!=null and type!=''">
  2. AND type = #{type}
  3. </if>

发表评论

表情:
评论列表 (有 0 条评论,718人围观)

还没有评论,来说两句吧...

相关阅读