Commit b780c8e5 authored by lixuan's avatar lixuan

feat: 房源

parent d5f8cf33
Pipeline #145096 failed with stages
in 35 minutes and 30 seconds
......@@ -98,7 +98,7 @@ public class HouseResourceController {
@PostMapping("/export")
public void export(HttpServletResponse response, HouseResourcePageQuery query) {
List<HouseResourceExport> exportList = new ArrayList<>();
List<HouseResourcePage> pageList = houseResourceService.listHouseResources(query);
List<HouseResourcePage> pageList = houseResourceService.exportListHouseResources(query);
pageList.forEach(x -> {
HouseResourceExport houseResourceExport = new HouseResourceExport();
BeanUtils.copyProperties(x, houseResourceExport);
......
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