提交 1d1fe9b0 authored 作者: 黄夏豪's avatar 黄夏豪

[数据模块] 修复了一个ID生成的BUG

上级 da941bfc
......@@ -32,8 +32,10 @@ public class HqlUtil {
.append(" " + condition.getType() + " ")
.append("'")
.append(condition.getValue())
.append("'")
.append(condition.getConnectionType().getType());
.append("'");
if (condition.getConnectionType()!=null){
result.append(condition.getConnectionType().getType());
}
}
if (result.lastIndexOf(" and ") > -1) {
result.delete(result.lastIndexOf(" and "), result.length());
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论