作者 赵超

UPDATE SQL 赵超

@@ -112,7 +112,7 @@ public abstract class _BaseModel<M extends _BaseModel<M>> extends Model<M> { @@ -112,7 +112,7 @@ public abstract class _BaseModel<M extends _BaseModel<M>> extends Model<M> {
112 values.add(entry.getValue()); 112 values.add(entry.getValue());
113 } 113 }
114 } 114 }
115 - sb.append(" ").append("order by enterTime DESC"); 115 + sb.append(" ").append("order by ID DESC");
116 return find(sb.toString(), values.toArray()); 116 return find(sb.toString(), values.toArray());
117 } 117 }
118 public Page<M> searchPaginate(int pageNumber, int pageSize, Map<String, Object> maps) { 118 public Page<M> searchPaginate(int pageNumber, int pageSize, Map<String, Object> maps) {