Commit 66f92057 authored by yanzg's avatar yanzg

身份证识别

parent 97c57125
...@@ -7,6 +7,7 @@ import com.yanzuoguang.util.base.MethodField; ...@@ -7,6 +7,7 @@ import com.yanzuoguang.util.base.MethodField;
import com.yanzuoguang.util.base.ObjectHelper; import com.yanzuoguang.util.base.ObjectHelper;
import com.yanzuoguang.util.helper.StringHelper; import com.yanzuoguang.util.helper.StringHelper;
import com.yanzuoguang.util.log.Log; import com.yanzuoguang.util.log.Log;
import com.yanzuoguang.util.vo.InitDao;
import com.yanzuoguang.util.vo.MapRow; import com.yanzuoguang.util.vo.MapRow;
import org.springframework.beans.BeanUtils; import org.springframework.beans.BeanUtils;
import org.springframework.beans.TypeMismatchException; import org.springframework.beans.TypeMismatchException;
...@@ -219,6 +220,10 @@ public class AllBeanRowMapper<T> implements RowMapper<T> { ...@@ -219,6 +220,10 @@ public class AllBeanRowMapper<T> implements RowMapper<T> {
} }
} }
if (mappedObject instanceof InitDao) {
((InitDao) mappedObject).init();
}
return mappedObject; return mappedObject;
} }
......
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