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

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

猜你喜欢

转载自www.cnblogs.com/chenzhibiao/p/9911637.html
今日推荐