Commit 427bf22b authored by yanzg's avatar yanzg

身份证识别

parent 6737a7a4
...@@ -74,10 +74,10 @@ public abstract class BaseDaoSql { ...@@ -74,10 +74,10 @@ public abstract class BaseDaoSql {
this.db = db; this.db = db;
} }
public <T extends InitDao> void initList(Collection<T> list) { public <T> void initList(Collection<T> list) {
for (T item : list) { for (T item : list) {
if (item != null) { if (item instanceof InitDao) {
item.init(); ((InitDao) item).init();
} }
} }
} }
......
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