Commit 64f8e575 authored by yanzg's avatar yanzg

常规BUG的修改

parent 0a5937bd
...@@ -163,6 +163,7 @@ public abstract class BaseDaoImpl extends BaseDaoSql implements BaseDao { ...@@ -163,6 +163,7 @@ public abstract class BaseDaoImpl extends BaseDaoSql implements BaseDao {
InitDao to = (InitDao) model; InitDao to = (InitDao) model;
to.init(); to.init();
} }
if (operatorType == DaoConst.OPERATOR_TYPE_CREATE || operatorType == DaoConst.OPERATOR_TYPE_UPDATE) {
List<SqlData> sqlArray = this.table.getSqlType(DaoConst.SQL_TYPE_EXINTS); List<SqlData> sqlArray = this.table.getSqlType(DaoConst.SQL_TYPE_EXINTS);
if (sqlArray != null) { if (sqlArray != null) {
for (SqlData sql : sqlArray) { for (SqlData sql : sqlArray) {
...@@ -170,6 +171,7 @@ public abstract class BaseDaoImpl extends BaseDaoSql implements BaseDao { ...@@ -170,6 +171,7 @@ public abstract class BaseDaoImpl extends BaseDaoSql implements BaseDao {
} }
} }
} }
}
/** /**
* 保存数据 * 保存数据
......
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