作者 赵超

UPDATE SQL 赵超

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