From a63a387555da554ee9fa72fbd59dbfc3cc01fe82 Mon Sep 17 00:00:00 2001 From: leebj Date: Thu, 31 Oct 2024 09:07:04 +0900 Subject: [PATCH] no message --- .../java/cokr/xit/fims/rent/web/Rent04Controller.java | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/main/java/cokr/xit/fims/rent/web/Rent04Controller.java b/src/main/java/cokr/xit/fims/rent/web/Rent04Controller.java index c8c88758..7961c40a 100644 --- a/src/main/java/cokr/xit/fims/rent/web/Rent04Controller.java +++ b/src/main/java/cokr/xit/fims/rent/web/Rent04Controller.java @@ -3,7 +3,6 @@ package cokr.xit.fims.rent.web; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; -import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.HashMap; import java.util.List; @@ -137,12 +136,7 @@ public class Rent04Controller extends ApplicationController { value = cell.getCellFormula(); break; case NUMERIC: - if(cellIndex == 6) { - value = new SimpleDateFormat("yyyy-MM-dd").format(cell.getDateCellValue()); - } else { - value = ""+(int)cell.getNumericCellValue() + ""; - } - + value = ""+(int)cell.getNumericCellValue() + ""; break; case STRING: value = cell.getStringCellValue() + ""; @@ -153,6 +147,8 @@ public class Rent04Controller extends ApplicationController { case ERROR: value = cell.getErrorCellValue() + ""; break; + default: + value = ""; } }