OWL ITS + 탐지시스템(인터넷 진흥원)
jhjang
2022-02-08 00d836c9a224c78fb0cf89d3f2b69ab05c28cff8
src/main/java/kr/wisestone/owl/service/impl/IssueServiceImpl.java
@@ -3471,8 +3471,13 @@
     */
    private Boolean cellNullCheck (Cell cell) {
        if (cell != null ) {
            if (cell.getCellType() != Cell.CELL_TYPE_BLANK) {
                if (cell.getCellType() == Cell.CELL_TYPE_STRING && cell.getStringCellValue() != null) {
            int cellType = cell.getCellType();
            if (cellType < Cell.CELL_TYPE_BLANK) {
                if (cellType == Cell.CELL_TYPE_STRING)
                {
                    if (cell.getStringCellValue() != null)
                        return false;
                } else {
                    return false;
                }
            }
@@ -3499,6 +3504,7 @@
            boolean isNull = cellNullCheck(cell);
            String cellStr = "";
            if (!isNull) {
                cellStr = CommonUtil.convertExcelStringToCell(cell);