Browse Source

初始

master
郑根木 2 years ago
parent
commit
25c524583f
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      smtweb-framework/sw-framework-core/src/main/java/cc/smtweb/framework/core/db/dao/AbstractEntityDao.java

+ 1
- 0
smtweb-framework/sw-framework-core/src/main/java/cc/smtweb/framework/core/db/dao/AbstractEntityDao.java View File

@@ -232,6 +232,7 @@ public abstract class AbstractEntityDao<T> {
for (EntityColumn column : this.columns.values()) { for (EntityColumn column : this.columns.values()) {
if (idColumn != column) { if (idColumn != column) {
sql.append(column.getField().getName()).append("=?,"); sql.append(column.getField().getName()).append("=?,");
result.add(column.readValue(obj));
} }
} }
sql.setCharAt(sql.length() - 1, ' '); sql.setCharAt(sql.length() - 1, ' ');


Loading…
Cancel
Save