Commit 319ee0b9 by fudahua

feat:时间格式hh-》HH

parent 1486b3f5
......@@ -1006,7 +1006,7 @@ public class FlatQueryResultServiceImpl implements IFlatQueryResultService {
break;
case Types.TIMESTAMP:
midCell.setCellStyle(yyyyMMddhhmmss);
midCell.setCellValue(DateUtils.parseDate(columnValue,new String[]{"yyyy-MM-dd hh:mm:ss"}));
midCell.setCellValue(DateUtils.parseDate(columnValue,new String[]{"yyyy-MM-dd HH:mm:ss"}));
break;
case Types.INTEGER:
midCell.setCellValue(Integer.valueOf(columnValue));
......
......@@ -641,7 +641,7 @@ public class FreeQueryServiceImpl implements IFreeQueryService {
midCell.setCellValue(s);
}else {
midCell.setCellStyle(yyyyMMddhhmmss);
midCell.setCellValue(DateUtils.parseDate(s,new String[]{"yyyy-MM-dd hh:mm:ss"}));
midCell.setCellValue(DateUtils.parseDate(s,new String[]{"yyyy-MM-dd HH:mm:ss"}));
}
break;
case Types.DATE:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment