Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-cloud
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data-hook
gic-cloud
Commits
8236f0bd
Commit
8236f0bd
authored
Jun 23, 2022
by
fudahua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:时间格式
parent
42d7a888
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
FlatQueryResultServiceImpl.java
...ud/data/hook/service/impl/FlatQueryResultServiceImpl.java
+3
-0
No files found.
gic-cloud-data-hook-service/src/main/java/com/gic/cloud/data/hook/service/impl/FlatQueryResultServiceImpl.java
View file @
8236f0bd
...
@@ -25,6 +25,7 @@ import org.apache.commons.lang.time.DateUtils;
...
@@ -25,6 +25,7 @@ import org.apache.commons.lang.time.DateUtils;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.concurrent.BasicThreadFactory
;
import
org.apache.commons.lang3.concurrent.BasicThreadFactory
;
import
org.apache.commons.lang3.tuple.Pair
;
import
org.apache.commons.lang3.tuple.Pair
;
import
org.apache.hadoop.hive.metastore.api.Decimal
;
import
org.apache.poi.hssf.usermodel.HSSFCell
;
import
org.apache.poi.hssf.usermodel.HSSFCell
;
import
org.apache.poi.hssf.usermodel.HSSFCellStyle
;
import
org.apache.poi.hssf.usermodel.HSSFCellStyle
;
import
org.apache.poi.hssf.usermodel.HSSFDataFormat
;
import
org.apache.poi.hssf.usermodel.HSSFDataFormat
;
...
@@ -42,6 +43,7 @@ import java.io.OutputStream;
...
@@ -42,6 +43,7 @@ import java.io.OutputStream;
import
java.io.OutputStreamWriter
;
import
java.io.OutputStreamWriter
;
import
java.nio.charset.Charset
;
import
java.nio.charset.Charset
;
import
java.sql.*
;
import
java.sql.*
;
import
java.text.DecimalFormat
;
import
java.text.ParseException
;
import
java.text.ParseException
;
import
java.text.SimpleDateFormat
;
import
java.text.SimpleDateFormat
;
import
java.util.Date
;
import
java.util.Date
;
...
@@ -1009,6 +1011,7 @@ public class FlatQueryResultServiceImpl implements IFlatQueryResultService {
...
@@ -1009,6 +1011,7 @@ public class FlatQueryResultServiceImpl implements IFlatQueryResultService {
midCell
.
setCellValue
(
Long
.
valueOf
(
columnValue
));
midCell
.
setCellValue
(
Long
.
valueOf
(
columnValue
));
break
;
break
;
case
Types
.
DOUBLE
:
case
Types
.
DOUBLE
:
case
Types
.
DECIMAL
:
midCell
.
setCellValue
(
Double
.
valueOf
(
columnValue
));
midCell
.
setCellValue
(
Double
.
valueOf
(
columnValue
));
break
;
break
;
case
Types
.
FLOAT
:
case
Types
.
FLOAT
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment