Ver Código Fonte

修改专利查询条件

XMTT 7 anos atrás
pai
commit
b396d7ae02

+ 2 - 2
src/main/java/com/ekexiu/console/system/dao/PpatentDao.java

31
31
32
    @PageQuery
32
    @PageQuery
33
    @OrderBy(" ORDER BY create_time DESC NULLS LAST")
33
    @OrderBy(" ORDER BY create_time DESC NULLS LAST")
34
    PageQueryResult<Ppatent> queryByTime(Connection con, @Nullable @Like String name, @Nullable @Like String reqPerson, @Nullable @GtEq @Alias("createTime") String bt, @Nullable @Alias("createTime") @LtEq String et, int pageSize, int pageNo) throws SQLException;
34
    PageQueryResult<Ppatent> queryByTime(Connection con, @Nullable @Like String name, @Nullable @Like String authors, @Nullable @GtEq @Alias("createTime") String bt, @Nullable @Alias("createTime") @LtEq String et, int pageSize, int pageNo) throws SQLException;
35
35
36
    @PageQuery
36
    @PageQuery
37
    @OrderBy(" ORDER BY page_views DESC NULLS LAST")
37
    @OrderBy(" ORDER BY page_views DESC NULLS LAST")
38
    PageQueryResult<Ppatent> queryByPV(Connection con, @Nullable @Like String name,@Nullable @Like String reqPerson, @Nullable @GtEq @Alias("createTime") String bt, @Nullable @Alias("createTime") @LtEq String et, int pageSize, int pageNo) throws SQLException;
38
    PageQueryResult<Ppatent> queryByPV(Connection con, @Nullable @Like String name,@Nullable @Like String authors, @Nullable @GtEq @Alias("createTime") String bt, @Nullable @Alias("createTime") @LtEq String et, int pageSize, int pageNo) throws SQLException;
39
39
40
}
40
}

+ 1 - 0
src/main/resources/database.sql

28
-- ----------------------------
28
-- ----------------------------
29
ALTER TABLE USER_INFO ADD PRIMARY KEY (ID);
29
ALTER TABLE USER_INFO ADD PRIMARY KEY (ID);
30
30
31
-----begin version 1.9------------------------
31
-- ----------------------------
32
-- ----------------------------
32
-- Table structure for org_record
33
-- Table structure for org_record
33
-- ----------------------------
34
-- ----------------------------