|
@ -57,15 +57,15 @@ public interface QuestionDao {
|
57
|
57
|
|
58
|
58
|
@PageQuery
|
59
|
59
|
@OrderBy("order by create_time DESC")
|
60
|
|
PageQueryResult<QuestionInfo> questionByTime(Connection con, @Nullable String title, @Nullable String requester, int pageSize, int pageNo)throws SQLException;
|
|
60
|
PageQueryResult<QuestionInfo> questionByTime(Connection con, @Nullable @Like String title, @Nullable @Like String requester, int pageSize, int pageNo)throws SQLException;
|
61
|
61
|
|
62
|
62
|
@PageQuery
|
63
|
63
|
@OrderBy("order by page_views DESC")
|
64
|
|
PageQueryResult<QuestionInfo> questionByPV(Connection con, @Nullable String title, @Nullable String requester, int pageSize, int pageNo)throws SQLException;
|
|
64
|
PageQueryResult<QuestionInfo> questionByPV(Connection con, @Nullable @Like String title, @Nullable @Like String requester, int pageSize, int pageNo)throws SQLException;
|
65
|
65
|
|
66
|
66
|
@PageQuery
|
67
|
67
|
@OrderBy("order by reply_count DESC")
|
68
|
|
PageQueryResult<QuestionInfo> questionByReply(Connection con, @Nullable String title, @Nullable String requester, int pageSize, int pageNo)throws SQLException;
|
|
68
|
PageQueryResult<QuestionInfo> questionByReply(Connection con, @Nullable @Like String title, @Nullable @Like String requester, int pageSize, int pageNo)throws SQLException;
|
69
|
69
|
|
70
|
70
|
@QueryOne
|
71
|
71
|
@Nullable
|