maximum number of expressions in a list is 1000
以前没发现,数据库查询语句还有这个限制,列表查询的长度不能超过1000,解决办法,用多个等效的表达式代替in (...>1000长度 ),如
select * from tableName where id in (....>1000长度) 改成:
select * from tableName where id in (0~999) or id in (1000~1999)..... 方法有点笨,哪位大虾有更好的办法,欢迎指正!