|
@ -865,21 +865,21 @@ public class ArticleService {
|
865
|
865
|
|
866
|
866
|
@Get
|
867
|
867
|
@Path("/qaPro")
|
868
|
|
public List<Article> queryPro(@JdbcConn Connection con, String professorId) throws SQLException {
|
869
|
|
return this.articleDao.queryPro(con, professorId);
|
|
868
|
public List<Article> queryPro(@JdbcConn Connection con, String ownerId) throws SQLException {
|
|
869
|
return this.articleDao.queryPro(con, ownerId);
|
870
|
870
|
}
|
871
|
871
|
|
872
|
872
|
@Get
|
873
|
873
|
@Path("/qaProPublish")
|
874
|
|
public List<Article> queryProPublish(@JdbcConn Connection con, String professorId) throws SQLException {
|
875
|
|
return this.articleDao.queryProPublish(con, professorId);
|
|
874
|
public List<Article> queryProPublish(@JdbcConn Connection con, String ownerId) throws SQLException {
|
|
875
|
return this.articleDao.queryProPublish(con, ownerId);
|
876
|
876
|
}
|
877
|
877
|
|
878
|
878
|
@Get
|
879
|
879
|
@Path("/pqProPublish")
|
880
|
|
public PageQueryResult<Article> pageQueryProPublish(@JdbcConn Connection con, String professorId, @DefaultValue("10") int pageSize,
|
|
880
|
public PageQueryResult<Article> pageQueryProPublish(@JdbcConn Connection con, String ownerId, @DefaultValue("10") int pageSize,
|
881
|
881
|
@DefaultValue("1") int pageNo) throws SQLException {
|
882
|
|
return this.articleDao.pageQueryProPublish(con, professorId, pageSize, pageNo);
|
|
882
|
return this.articleDao.pageQueryProPublish(con, ownerId, pageSize, pageNo);
|
883
|
883
|
}
|
884
|
884
|
|
885
|
885
|
@Get
|
|
@ -890,34 +890,34 @@ public class ArticleService {
|
890
|
890
|
|
891
|
891
|
@Get
|
892
|
892
|
@Path("/qaForDesk")
|
893
|
|
public List<Article> queryForDesk(@JdbcConn Connection con, String professorId) throws SQLException {
|
894
|
|
return this.articleDao.queryForDesk(con, professorId);
|
|
893
|
public List<Article> queryForDesk(@JdbcConn Connection con, String ownerId) throws SQLException {
|
|
894
|
return this.articleDao.queryForDesk(con, ownerId);
|
895
|
895
|
}
|
896
|
896
|
|
897
|
897
|
@Get
|
898
|
898
|
@Path("/qaOrg")
|
899
|
|
public List<Article> queryOrg(@JdbcConn Connection con, String onergId) throws SQLException {
|
900
|
|
return this.articleDao.queryOrg(con, onergId);
|
|
899
|
public List<Article> queryOrg(@JdbcConn Connection con, String ownenerId) throws SQLException {
|
|
900
|
return this.articleDao.queryOrg(con, ownenerId);
|
901
|
901
|
}
|
902
|
902
|
|
903
|
903
|
@Get
|
904
|
904
|
@Path("/qaOrgPublish")
|
905
|
|
public List<Article> queryOrgPublish(@JdbcConn Connection con, String onergId) throws SQLException {
|
906
|
|
return this.articleDao.queryOrgPublish(con, onergId);
|
|
905
|
public List<Article> queryOrgPublish(@JdbcConn Connection con, String ownenerId) throws SQLException {
|
|
906
|
return this.articleDao.queryOrgPublish(con, ownenerId);
|
907
|
907
|
}
|
908
|
908
|
|
909
|
909
|
@Get
|
910
|
910
|
@Path("/pqOrgPublish")
|
911
|
|
public PageQueryResult<Article> pageQueryOrgPublish(@JdbcConn Connection con, String onergId, @DefaultValue("10") int pageSize, @DefaultValue("1") int pageNo)
|
|
911
|
public PageQueryResult<Article> pageQueryOrgPublish(@JdbcConn Connection con, String ownenerId, @DefaultValue("10") int pageSize, @DefaultValue("1") int pageNo)
|
912
|
912
|
throws SQLException {
|
913
|
|
return this.articleDao.pageQueryOrgPublish(con, onergId, pageSize, pageNo);
|
|
913
|
return this.articleDao.pageQueryOrgPublish(con, ownenerId, pageSize, pageNo);
|
914
|
914
|
}
|
915
|
915
|
|
916
|
916
|
@Get
|
917
|
917
|
@Path("/qlOrg")
|
918
|
|
public List<Article> queryLimitOrg(@JdbcConn Connection con, String onergId,
|
|
918
|
public List<Article> queryLimitOrg(@JdbcConn Connection con, String ownenerId,
|
919
|
919
|
@DefaultValue("com.ekexiu.portal.service.ArticleService.MAX_MODIFYTIME") String modifyTime, @DefaultValue("20") int rows) throws SQLException {
|
920
|
|
return this.articleDao.queryLimit(con, onergId, modifyTime, rows);
|
|
920
|
return this.articleDao.queryLimit(con, ownenerId, modifyTime, rows);
|
921
|
921
|
}
|
922
|
922
|
|
923
|
923
|
@Get
|