XMTT 7 年之前
父节点
当前提交
482f041185
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/main/java/com/ekexiu/console/system/dao/QuestionDao.java

+ 3 - 3
src/main/java/com/ekexiu/console/system/dao/QuestionDao.java

@ -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