XMTT преди 6 години
родител
ревизия
de5ae10181

+ 1 - 1
src/main/java/com/ekexiu/project/storage/resource/dao/StorageDao.java

@ -29,7 +29,7 @@ public interface StorageDao {
29 29
    int logicDelete(Connection con, String id) throws SQLException;
30 30
31 31
    @PageSelect
32
    @OrderBy("ORDER BY CREATE_TIME")
32
    @OrderBy("ORDER BY CREATE_TIME DESC")
33 33
     PageQueryResult<Storage> pageQuery(Connection con, @Nullable Boolean active, int pageSize, int pageNo) throws SQLException;
34 34
35 35
}

+ 1 - 1
src/main/java/com/ekexiu/project/storage/system/dao/UserDao.java

@ -58,7 +58,7 @@ public interface UserDao {
58 58
    User queryByAccount(Connection con,String account) throws SQLException;
59 59
60 60
    @PageSelect
61
    @OrderBy("ORDER BY CREATE_TIME")
61
    @OrderBy("ORDER BY CREATE_TIME DESC")
62 62
    PageQueryResult<User> pageQuery(Connection con, @Nullable Boolean active, int pageSize, int pageNo) throws SQLException;
63 63
64 64