Commit 1486b3f5 by fudahua

feat:下载格式类型null

parent 2b088791
......@@ -213,7 +213,11 @@ public class CsvResultSetHelper implements ResultSetHelper {
result.add(resultSet.getTimestamp(i+1) != null ? timeFormatter_threadLocal.get().format(resultSet.getTimestamp(i+1)) : "");
break;
default:
String s2 = String.valueOf(resultSet.getObject(i + 1));
Object val = resultSet.getObject(i + 1);
String s2="";
if (val != null) {
s2 = String.valueOf(val);
}
// if(org.apache.commons.lang3.StringUtils.isNotBlank(s2)){
// if(s2.contains("E0") || s2.startsWith("0")){
// s2 = s2 + "\t";
......
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