Commit 69b88ac2 authored by yanzg's avatar yanzg

消除成功接收处理

parent c8d0e705
...@@ -371,7 +371,7 @@ public class TableStruct { ...@@ -371,7 +371,7 @@ public class TableStruct {
public void addExist(TableSqlCache sqlTableData, String sqlName, String[] fields) { public void addExist(TableSqlCache sqlTableData, String sqlName, String[] fields) {
String text = loadModel.replace("{TABLE}", this.Name); String text = loadModel.replace("{TABLE}", this.Name);
SqlData sql = new SqlData(sqlName, text); SqlData sql = new SqlData(sqlName, text);
sql.addPara(this.Key.name, "{WHERE}", " AND a." + this.Key + "<>?"); sql.addPara(this.Key.inputName, "{WHERE}", " AND a." + this.Key.name + "<>?");
for (String field : fields) { for (String field : fields) {
sql.addParaConst(field, "{WHERE}", " AND a." + field + "=?"); sql.addParaConst(field, "{WHERE}", " AND a." + field + "=?");
} }
......
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