|
@ -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
|
|
@ -908,34 +908,34 @@ public class ArticleService {
|
908
|
908
|
|
909
|
909
|
@Get
|
910
|
910
|
@Path("/qaForDesk")
|
911
|
|
public List<Article> queryForDesk(@JdbcConn Connection con, String professorId) throws SQLException {
|
912
|
|
return this.articleDao.queryForDesk(con, professorId);
|
|
911
|
public List<Article> queryForDesk(@JdbcConn Connection con, String ownerId) throws SQLException {
|
|
912
|
return this.articleDao.queryForDesk(con, ownerId);
|
913
|
913
|
}
|
914
|
914
|
|
915
|
915
|
@Get
|
916
|
916
|
@Path("/qaOrg")
|
917
|
|
public List<Article> queryOrg(@JdbcConn Connection con, String onergId) throws SQLException {
|
918
|
|
return this.articleDao.queryOrg(con, onergId);
|
|
917
|
public List<Article> queryOrg(@JdbcConn Connection con, String ownenerId) throws SQLException {
|
|
918
|
return this.articleDao.queryOrg(con, ownenerId);
|
919
|
919
|
}
|
920
|
920
|
|
921
|
921
|
@Get
|
922
|
922
|
@Path("/qaOrgPublish")
|
923
|
|
public List<Article> queryOrgPublish(@JdbcConn Connection con, String onergId) throws SQLException {
|
924
|
|
return this.articleDao.queryOrgPublish(con, onergId);
|
|
923
|
public List<Article> queryOrgPublish(@JdbcConn Connection con, String ownenerId) throws SQLException {
|
|
924
|
return this.articleDao.queryOrgPublish(con, ownenerId);
|
925
|
925
|
}
|
926
|
926
|
|
927
|
927
|
@Get
|
928
|
928
|
@Path("/pqOrgPublish")
|
929
|
|
public PageQueryResult<Article> pageQueryOrgPublish(@JdbcConn Connection con, String onergId, @DefaultValue("10") int pageSize, @DefaultValue("1") int pageNo)
|
|
929
|
public PageQueryResult<Article> pageQueryOrgPublish(@JdbcConn Connection con, String ownenerId, @DefaultValue("10") int pageSize, @DefaultValue("1") int pageNo)
|
930
|
930
|
throws SQLException {
|
931
|
|
return this.articleDao.pageQueryOrgPublish(con, onergId, pageSize, pageNo);
|
|
931
|
return this.articleDao.pageQueryOrgPublish(con, ownenerId, pageSize, pageNo);
|
932
|
932
|
}
|
933
|
933
|
|
934
|
934
|
@Get
|
935
|
935
|
@Path("/qlOrg")
|
936
|
|
public List<Article> queryLimitOrg(@JdbcConn Connection con, String onergId,
|
|
936
|
public List<Article> queryLimitOrg(@JdbcConn Connection con, String ownenerId,
|
937
|
937
|
@DefaultValue("com.ekexiu.portal.service.ArticleService.MAX_MODIFYTIME") String modifyTime, @DefaultValue("20") int rows) throws SQLException {
|
938
|
|
return this.articleDao.queryLimit(con, onergId, modifyTime, rows);
|
|
938
|
return this.articleDao.queryLimit(con, ownenerId, modifyTime, rows);
|
939
|
939
|
}
|
940
|
940
|
|
941
|
941
|
@Get
|