Commit 84d54351 authored by neo's avatar neo

[bugfix] fix import excel big bug

parent 65c15d9a
...@@ -338,7 +338,7 @@ public class TemplateGroupServiceImpl extends AbstractService { ...@@ -338,7 +338,7 @@ public class TemplateGroupServiceImpl extends AbstractService {
templateMapper.insertSelective(template); templateMapper.insertSelective(template);
List<CellTemplate> cellTemplateList = Lists.newArrayList(); List<CellTemplate> cellTemplateList = Lists.newArrayList();
List<CellTemplateConfig> cellTemplateConfigList = Lists.newArrayList(); List<CellTemplateConfig> cellTemplateConfigList = Lists.newArrayList();
for (int r = sheet.getFirstRowNum(); i <= sheet.getLastRowNum(); i++) { for (int r = sheet.getFirstRowNum(); r <= sheet.getLastRowNum(); r++) {
Row row = sheet.getRow(r); Row row = sheet.getRow(r);
for (int c = row.getFirstCellNum(); c <= row.getLastCellNum(); c++) { for (int c = row.getFirstCellNum(); c <= row.getLastCellNum(); c++) {
Cell cell = row.getCell(c); Cell cell = row.getCell(c);
......
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