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 = ""; } }