|
@ -53,6 +53,10 @@ public interface ResearchResultDao {
|
53
|
53
|
@OrderBy("ORDER BY CREATE_TIME DESC")
|
54
|
54
|
PageQueryResult<ResearchResult> pageQuery(Connection con, @Nullable @In String[] status, @Nullable @GroupSqlColumn(handlerClass = StringHandler.class, value = {"name like ?", "ID IN (SELECT ID FROM RESEARCHER WHERE NAME LIKE ?)", "SUBJECT LIKE ?", "INDUSTRY LIKE ?"}, isAnd = false) String key, int pageSize, int pageNo) throws SQLException;
|
55
|
55
|
|
|
56
|
@PageQuery
|
|
57
|
@OrderBy("ORDER BY PAGE_VIEWS DESC")
|
|
58
|
PageQueryResult<ResearchResult> pqByPageViews(Connection con, @Nullable @In String[] status, @Nullable @GroupSqlColumn(handlerClass = StringHandler.class, value = {"name like ?", "ID IN (SELECT ID FROM RESEARCHER WHERE NAME LIKE ?)", "SUBJECT LIKE ?", "INDUSTRY LIKE ?"}, isAnd = false) String key, int pageSize, int pageNo) throws SQLException;
|
|
59
|
|
56
|
60
|
@PageQuery
|
57
|
61
|
@OrderBy("ORDER BY CREATE_TIME DESC")
|
58
|
62
|
PageQueryResult<ResearchResult> pageQueryByResearcher(Connection con, @Nullable @In String[] status, @SqlColumn(handlerClass = StringHandler.class, value = "ID IN (SELECT ID FROM RESEARCHER WHERE PROFESSOR_ID = ?)") String id, int pageSize, int pageNo) throws SQLException;
|