|
|
@@ -41,10 +41,12 @@ public class AuctionRecordService {
|
|
|
.findAll(JpaUtils.toSpecification(pageQuery, AuctionRecord.class), JpaUtils.toPageRequest(pageQuery));
|
|
|
}
|
|
|
|
|
|
- public Page<AuctionRecordDTO> recordInfos(PageQuery pageQuery) {
|
|
|
+ public Page<AuctionRecordDTO> recordInfos(PageQuery pageQuery, Long userId) {
|
|
|
|
|
|
Page<AuctionRecord> records = auctionRecordRepo
|
|
|
.findAll(JpaUtils.toSpecification(pageQuery, AuctionRecord.class), JpaUtils.toPageRequest(pageQuery));
|
|
|
+
|
|
|
+// Page<AuctionRecord> records = auctionRecordRepo.findAll((), JpaUtils.toPageRequest(pageQuery));
|
|
|
List<AuctionRecordDTO> auctionRecordDTOS = new ArrayList<>();
|
|
|
records.getContent().forEach(record -> {
|
|
|
AuctionActivity auctionActivity = auctionActivityRepo.findById(record.getAuctionId())
|