| | |
| | | wrapper3.like(AuctionBrowseRecord::getSkuName,auctionGoodsListDTO.getGoodsSkuName()); |
| | | } |
| | | |
| | | Set<Long> goodsSkuIdList = null; |
| | | /* Set<Long> goodsSkuIdList = null; |
| | | if (auctionGoodsListDTO.getStartStatus()!=null&&auctionGoodsListDTO.getStartStatus()!=4){ |
| | | LambdaQueryWrapper<AuctionGoods> wrapper=Wrappers.lambdaQuery(); |
| | | wrapper.eq(AuctionGoods::getStartStatus,auctionGoodsListDTO.getStartStatus()); |
| | |
| | | goodsSkuIdList.add(0L); |
| | | wrapper3.in(AuctionBrowseRecord::getTargetId,goodsSkuIdList); |
| | | } |
| | | } |
| | | }*/ |
| | | |
| | | wrapper3.orderByDesc(AuctionBrowseRecord::getCreateTime); |
| | | Page<AuctionBrowseRecord> page1 = this.page(page, wrapper3); |
| | |
| | | @Override |
| | | public PageDTO<WdMemberAuctionSalesroomVO> getWdAuctionSalesroomBrowseRecordList(MemberAuctionSalesroomDTO MemberAuctionSalesroomDTO) { |
| | | |
| | | Set<Long> goodsSkuIdList = null; |
| | | /* Set<Long> goodsSkuIdList = null; |
| | | if (MemberAuctionSalesroomDTO.getStatus()!=4){ |
| | | LambdaQueryWrapper<AuctionSalesroom> wrapper=Wrappers.lambdaQuery(); |
| | | wrapper.eq(AuctionSalesroom::getStatus,MemberAuctionSalesroomDTO.getStatus()); |
| | |
| | | List<AuctionSalesroom> auctionSalesrooms = auctionSalesroomMapper.selectList(wrapper); |
| | | goodsSkuIdList = auctionSalesrooms.stream().map(AuctionSalesroom::getId) |
| | | .collect(Collectors.toSet()); |
| | | } |
| | | }*/ |
| | | |
| | | |
| | | |
| | |
| | | wrapper3.ge(AuctionBrowseRecord::getCreateTime, newTime7) |
| | | .le(AuctionBrowseRecord::getCreateTime, now); |
| | | |
| | | if (MemberAuctionSalesroomDTO.getStatus()!=4) { |
| | | /* if (MemberAuctionSalesroomDTO.getStatus()!=4) { |
| | | if (goodsSkuIdList != null) { |
| | | wrapper3.in(AuctionBrowseRecord::getTargetId,goodsSkuIdList); |
| | | } else { |
| | |
| | | goodsSkuIdList.add(0L); |
| | | wrapper3.in(AuctionBrowseRecord::getTargetId,goodsSkuIdList); |
| | | } |
| | | } |
| | | }*/ |
| | | |
| | | |
| | | wrapper3.orderByDesc(AuctionBrowseRecord::getCreateTime); |