Commit d9c406cf authored by yanzg's avatar yanzg

身份证识别

parent 0267377a
...@@ -15,6 +15,10 @@ import java.io.Serializable; ...@@ -15,6 +15,10 @@ import java.io.Serializable;
public class BaseVo implements Serializable { public class BaseVo implements Serializable {
@Override @Override
public boolean equals(Object that) { public boolean equals(Object that) {
if (this == that) return true;
if (!(that instanceof BaseVo)) {
return false;
}
MapRow rowThis = JsonHelper.to(this, MapRow.class); MapRow rowThis = JsonHelper.to(this, MapRow.class);
MapRow rowThat = JsonHelper.to(that, MapRow.class); MapRow rowThat = JsonHelper.to(that, MapRow.class);
return rowThis.equals(rowThat); return rowThis.equals(rowThat);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment