psta.setInt(2, startIndex);
psta.setInt(1, count);
这俩个到过来写还行啊,mssql好像有顺序问题