Commit 7a5a41ce by fudahua

feat:自定义查询zip测试

parent d111d443
...@@ -606,7 +606,7 @@ public class FreeQueryServiceImpl implements IFreeQueryService { ...@@ -606,7 +606,7 @@ public class FreeQueryServiceImpl implements IFreeQueryService {
} }
// 遍历输出行 // 遍历输出行
int rowCount = 0; int rowCount = 0;
while (rs.next()&&rowCount<limitSize) { while (rowCount<limitSize&&rs.next()) {
rowCount++; rowCount++;
row = sheet.createRow(rowCount); row = sheet.createRow(rowCount);
for (int j = 0; j < rs.getMetaData().getColumnCount(); ++j) { for (int j = 0; j < rs.getMetaData().getColumnCount(); ++j) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment