Commit 9381f831 authored by sherlock's avatar sherlock

Merge remote-tracking branch 'origin/dev_oracle' into dev_oracle_sherlock

parents 10a6241f 9dbb14aa
...@@ -310,7 +310,7 @@ public class TemplateGroupServiceImpl extends AbstractService { ...@@ -310,7 +310,7 @@ public class TemplateGroupServiceImpl extends AbstractService {
Workbook workbook = WorkbookFactory.create(inputStream); Workbook workbook = WorkbookFactory.create(inputStream);
List<Template> filePathList = Lists.newArrayList(); List<Template> filePathList = Lists.newArrayList();
Date now = new Date(); Date now = new Date();
for (int i = 0; i <= workbook.getNumberOfSheets(); i++) { for (int i = 0; i < workbook.getNumberOfSheets(); i++) {
String sheetName = workbook.getSheetName(i); String sheetName = workbook.getSheetName(i);
String newName = sheetName + CommonUtils.getUUID() + POIUtil.getFileSuffix(fileName).get(); String newName = sheetName + CommonUtils.getUUID() + POIUtil.getFileSuffix(fileName).get();
Sheet sheet = workbook.getSheetAt(i); Sheet sheet = workbook.getSheetAt(i);
...@@ -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);
......
...@@ -251,7 +251,7 @@ ...@@ -251,7 +251,7 @@
SELECT SELECT
CDS.CELL_DATA_ID, CDS.CELL_DATA_ID,
DS.ID, DS.ID,
DS.T_Y_P_E, DS.TYPE,
DS.NAME, DS.NAME,
DS.AMOUNT, DS.AMOUNT,
DS.DESCRIPTION, DS.DESCRIPTION,
......
...@@ -279,7 +279,7 @@ ...@@ -279,7 +279,7 @@
SELECT SELECT
CDS.CELL_DATA_ID, CDS.CELL_DATA_ID,
DS.ID, DS.ID,
DS.T_Y_P_E, DS.TYPE,
DS.NAME, DS.NAME,
DS.AMOUNT, DS.AMOUNT,
DS.DESCRIPTION, DS.DESCRIPTION,
......
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