winter пре 1 година
родитељ
комит
e8ca65b459
1 измењених фајлова са 2 додато и 1 уклоњено
  1. +2
    -1
      yqzjCApi/src/main/java/com/iformall/controller/yqzj/YqzjNewsController.java

+ 2
- 1
yqzjCApi/src/main/java/com/iformall/controller/yqzj/YqzjNewsController.java Прегледај датотеку

@@ -56,8 +56,9 @@ public class YqzjNewsController extends YqzjBaseController {
@ApiImplicitParam(name = "pageNum", value = "页数", dataType = "int", paramType = "query", required = true),
@ApiImplicitParam(name = "pageSize", value = "每页条数", dataType = "int", paramType = "query", required = true)})
public ResultData list(@ModelAttribute YqzjNews record, Integer pageNum, Integer pageSize) {
record.setSortColumns(" first desc, update_date desc, send_date desc, create_date desc");
final PageInfo<YqzjNews> page = this.yqzjService.listNewsAsPage(record, pageNum, pageSize);
return new ResultData(page);
}
}

Loading…
Откажи
Сачувај