Commit 185facc0 by fudahua

feat:时间格式

parent 5bf34d81
...@@ -989,8 +989,11 @@ public class FlatQueryResultServiceImpl implements IFlatQueryResultService { ...@@ -989,8 +989,11 @@ public class FlatQueryResultServiceImpl implements IFlatQueryResultService {
switch (type) { switch (type) {
case Types.TIMESTAMP: case Types.TIMESTAMP:
midCell.setCellStyle(cellStyle); midCell.setCellStyle(cellStyle);
midCell.setCellValue(DateUtils.parseDate(columnValues[j],new String[]{"yyyy-MM-dd hh:mm:ss"}));
break;
default:
midCell.setCellValue(columnValues[j]);
} }
midCell.setCellValue(columnValues[j]);
} }
} // WHILE OVER } // WHILE OVER
FileOutputStream fileOut = new FileOutputStream(originalFilePath); FileOutputStream fileOut = new FileOutputStream(originalFilePath);
......
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