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 2020import com .dtstack .chunjun .element .AbstractBaseColumn ;
2121import com .dtstack .chunjun .throwable .CastException ;
2222
23- import org .apache .commons .net .ntp .TimeStamp ;
24-
2523import java .math .BigDecimal ;
2624import java .sql .Time ;
2725import java .sql .Timestamp ;
@@ -140,15 +138,15 @@ public BigDecimal asBigDecimal() {
140138 if (null == data ) {
141139 return null ;
142140 }
143- return new BigDecimal (((TimeStamp ) data ).getTime ());
141+ return new BigDecimal (((Timestamp ) data ).getTime ());
144142 }
145143
146144 @ Override
147145 public Long asLong () {
148146 if (null == data ) {
149147 return null ;
150148 }
151- return ((TimeStamp ) data ).getTime ();
149+ return ((Timestamp ) data ).getTime ();
152150 }
153151
154152 @ Override
You can’t perform that action at this time.
0 commit comments