XMTT 6 years ago
parent
commit
de5ae10181

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

29
    int logicDelete(Connection con, String id) throws SQLException;
29
    int logicDelete(Connection con, String id) throws SQLException;
30
30
31
    @PageSelect
31
    @PageSelect
32
    @OrderBy("ORDER BY CREATE_TIME")
32
    @OrderBy("ORDER BY CREATE_TIME DESC")
33
     PageQueryResult<Storage> pageQuery(Connection con, @Nullable Boolean active, int pageSize, int pageNo) throws SQLException;
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
    User queryByAccount(Connection con,String account) throws SQLException;
58
    User queryByAccount(Connection con,String account) throws SQLException;
59
59
60
    @PageSelect
60
    @PageSelect
61
    @OrderBy("ORDER BY CREATE_TIME")
61
    @OrderBy("ORDER BY CREATE_TIME DESC")
62
    PageQueryResult<User> pageQuery(Connection con, @Nullable Boolean active, int pageSize, int pageNo) throws SQLException;
62
    PageQueryResult<User> pageQuery(Connection con, @Nullable Boolean active, int pageSize, int pageNo) throws SQLException;
63
63
64
64