Changeset 1045 for trunk/grails-app/services/dbnp/importer
- Timestamp:
- Nov 2, 2010, 9:42:03 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/services/dbnp/importer/ImporterService.groovy
r1044 r1045 65 65 def datamatrix_celltype = sheet.getRow(datamatrix_start).getCell(columnindex, org.apache.poi.ss.usermodel.Row.CREATE_NULL_AS_BLANK).getCellType() 66 66 def datamatrix_celldata = df.formatCellValue(sheet.getRow(datamatrix_start).getCell(columnindex)) 67 def datamatrix_cell = sheet.getRow(datamatrix_start).getCell(columnindex) 68 println "frn is "+sheet.getFirstRowNum() 69 def headercell = sheet.getRow(headerrow-1+sheet.getFirstRowNum()).getCell(columnindex) 67 def datamatrix_cell = sheet.getRow(datamatrix_start).getCell(columnindex) 68 def headercell = sheet.getRow(headerrow-1+sheet.getFirstRowNum()).getCell(columnindex) 70 69 def tft = TemplateFieldType.STRING //default templatefield type 71 70 … … 431 430 // add the failed columns to the record (might also be just an empty map if nothing failed) 432 431 // a failed column means that using the entity.setFieldValue() threw an exception 433 record.add(failed)432 //record.add(failed) 434 433 435 434 return record
Note: See TracChangeset
for help on using the changeset viewer.