创建一个list,然后往list中添加数据,将list放入map中,然后传到sql文件中。 <isNotNull property="后台传过来的list">,判空 条件 uid not in 迭代器 conjunction=",(值和值之间用的什么分割)" property="要遍历的list" #遍历的list[]# (注意,一定要加上[])