@Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class)
public void exportExcel(MultipartFile file){
try{
DateFormat df = new SimpleDateFormat("yyyyMMdd");
File fo = new File(file.getOriginalFilename());
FileUtils.copyInputStreamToFile(file.getInputStream(),fo);
Workbook workbook = null;
try{
workbook = new HSSFWorkbook(FileUtils.openInputStream(fo));
}catch(Exception e){
workbook = new XSSFWorkbook(FileUtils.openInputStream(fo));
}
Sheet sheet = workbook.getSheetAt(0);
List<HiooaRecruit> recruitList = new ArrayList<>();
int rows = sheet.getPhysicalNumberOfRows();
for (int i = 2; i < rows; i++) {
Row row = sheet.getRow(i);
if (row != null) {
HiooaRecruit recruit = new HiooaRecruit();
String uuid = UUID.randomUUID().toString();
uuid = uuid.replace("-", "");
recruit.setRecruitId(uuid);
if(row.getCell(0).toString