| | |
| | | |
| | | |
| | | import com.ruoyi.auction.controller.management.dto.MgtAuctionSalesroomQuery; |
| | | import com.ruoyi.auction.controller.management.dto.MgtScreenBidPage; |
| | | import com.ruoyi.auction.controller.management.vo.MgtAuctionBidRecordVO; |
| | | import com.ruoyi.auction.controller.management.vo.MgtAuctionSalesroomScreenVO; |
| | | import com.ruoyi.auction.controller.management.vo.MgtAuctionSalesroomVO; |
| | | import com.ruoyi.auction.service.IAuctionSalesroomService; |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.common.core.utils.page.PageDTO; |
| | | import com.ruoyi.common.core.web.page.BasePage; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.annotations.ApiParam; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | |
| | | * @param id 拍卖会id |
| | | * @return 大屏操作台拍卖场视图对象 |
| | | */ |
| | | @PostMapping("/detail/{id}") |
| | | @GetMapping("/detail/{id}") |
| | | @ApiOperation(value = "进入详情", notes = "进入详情") |
| | | public R<MgtAuctionSalesroomScreenVO> getAuctionSalesroomDetail(@PathVariable("id") Long id, |
| | | @RequestParam("basePage") BasePage basePage) { |
| | | return R.ok(auctionSalesroomService.getAuctionSalesroomDetail(id, basePage)); |
| | | public R<MgtAuctionSalesroomScreenVO> getAuctionSalesroomDetail( |
| | | @ApiParam(name = "id", value = "拍卖会id", required = true) @PathVariable("id") Long id) { |
| | | return R.ok(auctionSalesroomService.getAuctionSalesroomDetail(id)); |
| | | } |
| | | |
| | | /** |
| | | * 进入详情-出价会员列表 |
| | | * |
| | | * @param mgtScreenBidPage 分页参数对象 |
| | | * @return PageDTO<MgtAuctionBidRecordVO> |
| | | */ |
| | | @PostMapping("/bid-list") |
| | | @ApiOperation(value = "进入详情-出价会员列表", notes = "进入详情-出价会员列表") |
| | | public R<PageDTO<MgtAuctionBidRecordVO>> getAuctionSalesroomDetail( |
| | | @Validated @RequestBody MgtScreenBidPage mgtScreenBidPage) { |
| | | return R.ok(auctionSalesroomService.getScreenBidRecordList(mgtScreenBidPage)); |
| | | } |
| | | |
| | | } |