mybatis xml使用not in 某个集合的格式

151 阅读1分钟

mybatis xml 里使用not in 某个集合的时候 需要用foreach标签去便利每一个条件,不能直接是not in list

正确格式

在这里插入图片描述

关于foreach细节可以自己再去百度啦