File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed
arex-instrumentation-foundation
src/main/java/io/arex/foundation/serializer Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 66
66
<artifactId >zstd-jni</artifactId >
67
67
<version >1.5.2-5</version >
68
68
</dependency >
69
+
70
+ <dependency >
71
+ <groupId >tk.mybatis</groupId >
72
+ <artifactId >mapper-core</artifactId >
73
+ <version >1.1.5</version >
74
+ </dependency >
69
75
</dependencies >
70
76
71
77
<build >
Original file line number Diff line number Diff line change 23
23
import org .apache .commons .lang3 .time .FastDateFormat ;
24
24
import org .slf4j .Logger ;
25
25
import org .slf4j .LoggerFactory ;
26
+ import tk .mybatis .mapper .entity .EntityTable ;
26
27
27
28
import javax .xml .datatype .DatatypeFactory ;
28
29
import javax .xml .datatype .XMLGregorianCalendar ;
@@ -168,6 +169,8 @@ private void configMapper() {
168
169
MAPPER .configure (DeserializationFeature .FAIL_ON_NULL_FOR_PRIMITIVES , false );
169
170
MAPPER .configure (DeserializationFeature .READ_UNKNOWN_ENUM_VALUES_AS_NULL , true );
170
171
MAPPER .configure (MapperFeature .ACCEPT_CASE_INSENSITIVE_PROPERTIES , true );
172
+
173
+ MAPPER .addMixIn (EntityTable .class ,IgnoreType .class );
171
174
}
172
175
173
176
private void customTimeFormatSerializer (SimpleModule module ) {
Original file line number Diff line number Diff line change
1
+ package io .arex .foundation .serializer .ignore ;
2
+
3
+ import com .fasterxml .jackson .annotation .JsonIgnoreType ;
4
+
5
+ @ JsonIgnoreType
6
+ public class IgnoreType {
7
+ }
You can’t perform that action at this time.
0 commit comments