Commit 95565ea8 by 章家宝

fix:pageRandomAuctionVehicle接口添加拍场信息

1 parent 7a14b572
...@@ -117,6 +117,7 @@ public class AuctionController { ...@@ -117,6 +117,7 @@ public class AuctionController {
@PostMapping("pageRandomAuctionVehicle") @PostMapping("pageRandomAuctionVehicle")
public Page<AuctionVehicle> pageRandomAuctionVehicle(@RequestBody Pagination<AuctionVehicle> pagination, @RequestAttribute(value = LOGIN_ACCOUNT, required = false) Account account) { public Page<AuctionVehicle> pageRandomAuctionVehicle(@RequestBody Pagination<AuctionVehicle> pagination, @RequestAttribute(value = LOGIN_ACCOUNT, required = false) Account account) {
pagination.addFetch(root -> root.fetch(AuctionVehicle_.vehicle, JoinType.LEFT)); pagination.addFetch(root -> root.fetch(AuctionVehicle_.vehicle, JoinType.LEFT));
pagination.addFetch(root -> root.fetch(AuctionVehicle_.auction, JoinType.LEFT));
String cityCode = (String) pagination.getDataValue("cities"); String cityCode = (String) pagination.getDataValue("cities");
// 已审核的拍卖场次 // 已审核的拍卖场次
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!