Commit ba4171d8 by 高晓磊

场站管理settings.gradle提交

parent f9dfabae
...@@ -12,5 +12,8 @@ includeBuild("../") { ...@@ -12,5 +12,8 @@ includeBuild("../") {
substitute module('com.beecode:inz.workflow') with project(':inz.workflow') substitute module('com.beecode:inz.workflow') with project(':inz.workflow')
substitute module('com.beecode:inz.enterprisesetting') with project(':inz.enterprisesetting') substitute module('com.beecode:inz.enterprisesetting') with project(':inz.enterprisesetting')
substitute module('com.beecode:xyst.dinas.oa') with project(':xyst.dinas.oa') substitute module('com.beecode:xyst.dinas.oa') with project(':xyst.dinas.oa')
substitute module('com.beecode:xyst.dinas.biz') with project(':xyst.dinas.biz')
} }
} }
...@@ -156,9 +156,9 @@ public abstract class AbstractBaseDao { ...@@ -156,9 +156,9 @@ public abstract class AbstractBaseDao {
if(whereAttributes != null && whereAttributes.size() > 0) { if(whereAttributes != null && whereAttributes.size() > 0) {
StringBuffer where = new StringBuffer(); StringBuffer where = new StringBuffer();
whereAttributes.keySet().forEach(key -> { whereAttributes.keySet().forEach(key -> {
where.append(String.format("AND %s=:%s", key, key)); where.append(String.format(" AND %s=:%s", key, key));
}); });
where.replace(0, 3, " WHERE "); where.replace(0, 4, " WHERE ");
sql.append(where); sql.append(where);
} }
......
...@@ -10,4 +10,5 @@ include "inz.message" ...@@ -10,4 +10,5 @@ include "inz.message"
include "inz.query" include "inz.query"
include "inz.workflow" include "inz.workflow"
include "xyst.dinas.oa" include "xyst.dinas.oa"
include "xyst.dinas.biz"
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