Commit fd7eaa48 authored by yanzg's avatar yanzg

接口文档的支持

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