救援集成4/5
This commit is contained in:
parent
b760db71c9
commit
953e5ec79b
@ -322,10 +322,14 @@ public class RescueInfoSystem extends BaseController {
|
||||
@RequestParam(value = "pageSize", defaultValue = "10") Integer pageSize) {
|
||||
Page<RescueInfo> page = new Page<>(pageNo, pageSize);
|
||||
IPage<RescueInfo> rescueInfos = rescueInfoService.getRescueInfoByDriver(rescueInfo, page);
|
||||
TableDataInfo dataTable = getDataTable(rescueInfos.getRecords());
|
||||
List<MoneyManagement> list = rescueInfoService.moneyManagement2(rescueInfos.getRecords(), rescueInfo.getRescueStart());
|
||||
dataTable.setRows(list);
|
||||
return success(dataTable);
|
||||
IPage<MoneyManagement> result = new Page<>(pageNo, pageSize);
|
||||
result.setRecords(list);
|
||||
result.setTotal(rescueInfos.getTotal());
|
||||
result.setCurrent(rescueInfos.getCurrent());
|
||||
result.setPages(rescueInfos.getPages());
|
||||
result.setSize(rescueInfos.getSize());
|
||||
return success(result);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user