OWL ITS + 탐지시스템(인터넷 진흥원)
이민희
2022-02-08 079da7d7e3c08c4c38898d508b7568b5e451f5b3
- 이슈 임포트 시 cell null 이중체크
1개 파일 변경됨
6 ■■■■ 파일 변경됨
src/main/java/kr/wisestone/owl/service/impl/IssueServiceImpl.java 6 ●●●● 패치 | 보기 | raw | blame | 히스토리
src/main/java/kr/wisestone/owl/service/impl/IssueServiceImpl.java
@@ -3505,9 +3505,12 @@
        //  제목, 내용, 프로젝트 키, 이슈 타입, 우선순위, 중요도, 담당자, 시작일, 종료일, 사용자 정의 필드
        for (int cellIndex = 0; cellIndex < headers.size(); cellIndex++) {
            Cell cell = row.getCell(cellIndex);
            boolean isNull = cellNullCheck(cell);
            boolean isNull = true;
            String cellStr = "";
            if (cell != null) {
                isNull = cellNullCheck(cell);
            if (!isNull) {
                cellStr = CommonUtil.convertExcelStringToCell(cell);
@@ -3517,6 +3520,7 @@
            } else {
                cell.setCellValue(cellStr);
            }
            }
            switch (cellIndex) {
                case 0: