| | |
| | | return cell != null && cell.getStringCellValue() != null && cell.getCellType() != Cell.CELL_TYPE_BLANK; |
| | | } |
| | | |
| | | private void telTypeCheck (Cell cell, int rowIndex) { |
| | | if (cell.getCellType() != cell.CELL_TYPE_STRING) { |
| | | throw new OwlRuntimeException( |
| | | this.messageAccessor.getMessage(MsgConstants.EXCEL_IMPORT_TEL_NOT_STRING_TYPE, rowIndex)); |
| | | } |
| | | } |
| | | |
| | | // 엑셀 필드에 있는 정보를 업체 form 으로 옮긴다. |
| | | private CompanyFieldForm setCompanyFieldFormToExcelField(Row row, int rowIndex, Map<String, IspField> ispFieldMaps, Map<String, HostingField> hostingFieldMaps, |
| | | Map<String, Map<String, Object>> companyTypeMaps, Map<String, Map<String, Object>> parentSectorMaps, |
| | |
| | | |
| | | case 4: |
| | | // 연락처 |
| | | this.telTypeCheck(cell, rowIndex); // 텍스트 형식 체크 |
| | | |
| | | if (cellNullCheck(cell)) { |
| | | this.setCompanyFormTel(cell, companyFieldForm, rowIndex); |
| | | } |