File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
chunjun-core/src/main/java/com/dtstack/chunjun/element/column Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 20
20
import com .dtstack .chunjun .element .AbstractBaseColumn ;
21
21
import com .dtstack .chunjun .throwable .CastException ;
22
22
23
- import org .apache .commons .net .ntp .TimeStamp ;
24
-
25
23
import java .math .BigDecimal ;
26
24
import java .sql .Time ;
27
25
import java .sql .Timestamp ;
@@ -140,15 +138,15 @@ public BigDecimal asBigDecimal() {
140
138
if (null == data ) {
141
139
return null ;
142
140
}
143
- return new BigDecimal (((TimeStamp ) data ).getTime ());
141
+ return new BigDecimal (((Timestamp ) data ).getTime ());
144
142
}
145
143
146
144
@ Override
147
145
public Long asLong () {
148
146
if (null == data ) {
149
147
return null ;
150
148
}
151
- return ((TimeStamp ) data ).getTime ();
149
+ return ((Timestamp ) data ).getTime ();
152
150
}
153
151
154
152
@ Override
You can’t perform that action at this time.
0 commit comments