Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
wendal committed Apr 17, 2012
1 parent e6bf577 commit b3789f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/nutz/dao/util/Daos.java
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ public static int updateBySpecialChain(Dao dao, Class klass, Chain chain, Condit
final List<Object> values = new ArrayList<Object>();
final List<ValueAdaptor> adaptors = new ArrayList<ValueAdaptor>();
while (head != null) {
MappingField mf = en.getColumn(head.name());
MappingField mf = en.getField(head.name());
sql.append(mf.getColumnName()).append("=");
if (head.value() != null && head.special) {
if ("+1".equals(head.value())) {
Expand Down

0 comments on commit b3789f6

Please sign in to comment.