maven引入
<dependency> <groupId>com.github.dadiyang</groupId> <artifactId>equator</artifactId> <version>1.0.4</version> </dependency>
调用:
Equator equator = new GetterBaseEquator(); List<FieldInfo> diff = equator.getDiffFields(oldObject, object);
maven引入
<dependency> <groupId>com.github.dadiyang</groupId> <artifactId>equator</artifactId> <version>1.0.4</version> </dependency>
调用:
Equator equator = new GetterBaseEquator(); List<FieldInfo> diff = equator.getDiffFields(oldObject, object);