엑셀 업로드 필수값 유효성 수정
This commit is contained in:
@@ -48,7 +48,6 @@ class ExcelUploadCreateHouseholdDao implements ExcelUploadCreateHouseholdPortOut
|
|||||||
@Transactional
|
@Transactional
|
||||||
public ExcelUploadResultVO operate(MultipartFile file) throws IOException {
|
public ExcelUploadResultVO operate(MultipartFile file) throws IOException {
|
||||||
// 엑셀 파일 읽기
|
// 엑셀 파일 읽기
|
||||||
|
|
||||||
Workbook workbook = WorkbookFactory.create(file.getInputStream());
|
Workbook workbook = WorkbookFactory.create(file.getInputStream());
|
||||||
Sheet sheet = workbook.getSheetAt(0);
|
Sheet sheet = workbook.getSheetAt(0);
|
||||||
int success = 0;
|
int success = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user