not in (xxxx) 的bug

  <!--and s1.approve_type not in (#{notInApproveType}) 这种 and s1.approve_type not in ('0,4')只过滤0没过滤4 -->
            <if test="notInApproveType != null">
                and #{notInApproveType} not like concat('%',s1.approve_type,'%')
            </if>

 

posted @ 2018-09-26 09:56  夏末、初秋  阅读(360)  评论(0编辑  收藏  举报