救援集成4/5

This commit is contained in:
xiao-fajia 2024-08-24 19:39:51 +08:00
parent b760db71c9
commit 953e5ec79b

View File

@ -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);
}
/**