码迷,mamicode.com
首页 > 其他好文 > 详细

mybatis <where><if>标签的使用

时间:2018-11-11 20:17:50      阅读:397      评论:0      收藏:0      [点我收藏+]

标签:使用   ati   and   null   mybatis   bsp   nbsp   test   HERE   

        <where>
             <if test="ACZ001 != null and ACZ001!=‘‘">ACZ001=#{ACZ001}</if>
             <if test="ACZ002 != null and ACZ002!=‘‘">  and acz002 not in (‘${ACZ002}‘)</if>
        </where>

mybatis <where><if>标签的使用

标签:使用   ati   and   null   mybatis   bsp   nbsp   test   HERE   

原文地址:https://www.cnblogs.com/chenzhibiao/p/9911637.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!