@ -223,10 +223,18 @@ public class ExcelUtil<T>
val = StringUtils.substringBefore(s, ".0");
}
else
{
String dateFormat = field.getAnnotation(Excel.class).dateFormat();
if(StringUtils.isNotEmpty(dateFormat))
val=DateUtils.parseDateToStr(dateFormat,(Date) val);
val = Convert.toStr(val);
else if ((Integer.TYPE == fieldType) || (Integer.class == fieldType))
val = Convert.toInt(val);