Commit 3ad9f07f by wangweidong

土工平台修改

parent 67a296cf
...@@ -296,7 +296,8 @@ public class SoilExperimentServiceImpl extends BaseServiceImpl<SoilExperimentMap ...@@ -296,7 +296,8 @@ public class SoilExperimentServiceImpl extends BaseServiceImpl<SoilExperimentMap
if (StringUtils.isNotBlank(config.getFormula())&&null != config.getColumnPlace() && null != config.getMergeRowNum()){ if (StringUtils.isNotBlank(config.getFormula())&&null != config.getColumnPlace() && null != config.getMergeRowNum()){
Integer sampleBgMum = template.getSampleBeginRow(); Integer sampleBgMum = template.getSampleBeginRow();
Integer mergeRowNum = config.getMergeRowNum(); Integer mergeRowNum = config.getMergeRowNum();
int formulaNum = template.getSampleBeginRow()+sampleMergerNum*voList.size()-1 ; int formulaNum = template.getSampleBeginRow()+sampleMergerNum*templateSampleNum-1 ;
for (int i =sampleBgMum ; i < formulaNum; i+=mergeRowNum) { for (int i =sampleBgMum ; i < formulaNum; i+=mergeRowNum) {
XSSFRow row = sheetOne.getRow(i); XSSFRow row = sheetOne.getRow(i);
XSSFCell cell = row.getCell(config.getColumnPlace()); XSSFCell cell = row.getCell(config.getColumnPlace());
......
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