记得上下班打卡 | git大法好,push需谨慎

Commit be9c1b2a authored by wangyifan's avatar wangyifan

admin-修复艺人审核列表分页bug

parent 7bf43a36
...@@ -69,7 +69,10 @@ public class GoblinArtistAuthAdminController extends BaseController { ...@@ -69,7 +69,10 @@ public class GoblinArtistAuthAdminController extends BaseController {
} }
qw.orderByDesc(GoblinArtistAuthApply::getCreatedAt); qw.orderByDesc(GoblinArtistAuthApply::getCreatedAt);
startPage(); startPage();
return getDataTable(withNames(authAdminService.list(qw))); List<GoblinArtistAuthApply> list = authAdminService.list(qw);
TableDataInfo dataTable = getDataTable(list);
dataTable.setRows(withNames(list));
return dataTable;
} }
private List<Map<String, Object>> withNames(List<GoblinArtistAuthApply> list) { private List<Map<String, Object>> withNames(List<GoblinArtistAuthApply> list) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment