|
|
@ -3,7 +3,6 @@ package cokr.xit.fims.rent.web;
|
|
|
|
import java.io.ByteArrayInputStream;
|
|
|
|
import java.io.ByteArrayInputStream;
|
|
|
|
import java.io.IOException;
|
|
|
|
import java.io.IOException;
|
|
|
|
import java.io.InputStream;
|
|
|
|
import java.io.InputStream;
|
|
|
|
import java.text.SimpleDateFormat;
|
|
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
import java.util.ArrayList;
|
|
|
|
import java.util.HashMap;
|
|
|
|
import java.util.HashMap;
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.List;
|
|
|
@ -137,12 +136,7 @@ public class Rent04Controller extends ApplicationController {
|
|
|
|
value = cell.getCellFormula();
|
|
|
|
value = cell.getCellFormula();
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case NUMERIC:
|
|
|
|
case NUMERIC:
|
|
|
|
if(cellIndex == 6) {
|
|
|
|
|
|
|
|
value = new SimpleDateFormat("yyyy-MM-dd").format(cell.getDateCellValue());
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
value = ""+(int)cell.getNumericCellValue() + "";
|
|
|
|
value = ""+(int)cell.getNumericCellValue() + "";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case STRING:
|
|
|
|
case STRING:
|
|
|
|
value = cell.getStringCellValue() + "";
|
|
|
|
value = cell.getStringCellValue() + "";
|
|
|
@ -153,6 +147,8 @@ public class Rent04Controller extends ApplicationController {
|
|
|
|
case ERROR:
|
|
|
|
case ERROR:
|
|
|
|
value = cell.getErrorCellValue() + "";
|
|
|
|
value = cell.getErrorCellValue() + "";
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
|
|
|
|
default:
|
|
|
|
|
|
|
|
value = "";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|