1;代理管理页 table分页问题
This commit is contained in:
parent
6feaacc076
commit
e98904cf2a
|
@ -70,6 +70,7 @@ public class BusAgentInfoController extends BaseController {
|
|||
busAgentInfo.setSuperiorAgentCode(user.getUserId());
|
||||
}
|
||||
List<BusAgentInfo> list = busAgentInfoService.selectBusAgentInfoList(busAgentInfo);
|
||||
TableDataInfo rspData = getDataTable(list);
|
||||
list = list.stream().map(bean -> {
|
||||
BusStoreInfo busStoreInfo = new BusStoreInfo();
|
||||
busStoreInfo.setBindUser(bean.getAgentAccount());
|
||||
|
@ -101,9 +102,14 @@ public class BusAgentInfoController extends BaseController {
|
|||
bean.setLoginNum(llll.size());
|
||||
return bean;
|
||||
}).collect(Collectors.toList());
|
||||
return getDataTable(list);
|
||||
rspData.setRows(list);
|
||||
return rspData;
|
||||
}
|
||||
@GetMapping("/listA")
|
||||
public AjaxResult listA(BusAgentInfo busAgentInfo) {
|
||||
List<BusAgentInfo> list = busAgentInfoService.selectBusAgentInfoList(busAgentInfo);
|
||||
return success(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出代理管理列表
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue