Commit fd7eaa48 authored by yanzg's avatar yanzg

接口文档的支持

parent 786c4a1d
...@@ -56,11 +56,13 @@ public abstract class BaseDaoSql { ...@@ -56,11 +56,13 @@ public abstract class BaseDaoSql {
* @return * @return
*/ */
protected DbExecute getDb() { protected DbExecute getDb() {
if (this.db != null && !this.initSql) { synchronized (this.db) {
this.initExecute(this.db); if (this.db != null && !this.initSql) {
this.initSql = true; this.initExecute(this.db);
this.initSql = true;
}
return db;
} }
return db;
} }
/** /**
......
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