Commit 949f9e77 by ghxdhr

修改获取实际样品的最后一行

parent ea2b332b
......@@ -180,7 +180,7 @@ public class OriginalTemplateServiceImpl extends BaseServiceImpl<OriginalTemplat
if (null == moreSheet || 0 == moreSheet) {
int sampleBeginRow = template.getSampleBeginRow();
int sampleMergerNum = template.getSampleMergerNum();
int lastRowNum = sheet.getLastRowNum() - template.getTailNum() - 1;
int lastRowNum = sheet.getLastRowNum() - template.getTailNum();
Integer samplePos = null;
......@@ -325,7 +325,7 @@ public class OriginalTemplateServiceImpl extends BaseServiceImpl<OriginalTemplat
XSSFSheet sheet = xssfWorkbook.getSheetAt(k);
int sampleBeginRow = template.getSampleBeginRow();
int sampleMergerNum = template.getSampleMergerNum();
int lastRowNum = sheet.getLastRowNum() - template.getTailNum() - 1;
int lastRowNum = sheet.getLastRowNum() - template.getTailNum();
Integer sampleCol = null;
......
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