|
@ -1231,14 +1231,14 @@ public class ArticleService {
|
1231
|
1231
|
return this.articleDao.query(con, id);
|
1232
|
1232
|
}
|
1233
|
1233
|
|
1234
|
|
@Path("/find")
|
|
1234
|
@Path("/find1")
|
1235
|
1235
|
@Get
|
1236
|
1236
|
public PageQueryResult<Article> find(@JdbcConn Connection con, @DefaultValue("0") int col, @Nullable String[] exclude, @DefaultValue("20") int pageSize,
|
1237
|
1237
|
@DefaultValue("1") int pageNo) throws SQLException {
|
1238
|
1238
|
return this.articleDao.queryFind(con, col > 0 ? col : null, exclude, pageSize, pageNo);
|
1239
|
1239
|
}
|
1240
|
1240
|
|
1241
|
|
@Path("/lastestPublished")
|
|
1241
|
@Path("/lastestPublished1")
|
1242
|
1242
|
@Get
|
1243
|
1243
|
public List<Article> lastet(@JdbcConn Connection con, @Nullable String time, @DefaultValue("10") int rows) throws SQLException {
|
1244
|
1244
|
if (time == null) {
|