| | |
| | | wrapper3.like(AuctionBrowseRecord::getSkuName,auctionGoodsListDTO.getGoodsSkuName()); |
| | | } |
| | | |
| | | Set<Long> goodsSkuIdList = null; |
| | | if (auctionGoodsListDTO.getStartStatus()!=4){ |
| | | /* Set<Long> goodsSkuIdList = null; |
| | | if (auctionGoodsListDTO.getStartStatus()!=null&&auctionGoodsListDTO.getStartStatus()!=4){ |
| | | LambdaQueryWrapper<AuctionGoods> wrapper=Wrappers.lambdaQuery(); |
| | | wrapper.eq(AuctionGoods::getStartStatus,auctionGoodsListDTO.getStartStatus()); |
| | | wrapper.eq(AuctionGoods::getDelFlag,0); |
| | |
| | | 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); |
| | |
| | | MemberAuctionSalesroomDTO memberAuctionSalesroomDTO1=new MemberAuctionSalesroomDTO(); |
| | | memberAuctionSalesroomDTO1.setAuctionSalesroomId(auctionSalesroom.getId()); |
| | | memberAuctionSalesroomDTO1.setMemberId(MemberAuctionSalesroomDTO.getMemberId()); |
| | | List<OrderAuctionBond> data1 = orderClient.getOrderAuctionBondList1(memberAuctionSalesroomDTO1, SecurityConstants.INNER).getData(); |
| | | if (data1.size()>0){ |
| | | LambdaQueryWrapper<AuctionBondJl> wrapper=Wrappers.lambdaQuery(); |
| | | wrapper.eq(AuctionBondJl::getAuctionSalesroomId,auctionSalesroom.getId()); |
| | | wrapper.eq(AuctionBondJl::getMemberId,MemberAuctionSalesroomDTO.getMemberId()); |
| | | wrapper.eq(AuctionBondJl::getIsState,0); |
| | | AuctionBondJl auctionBondJl = auctionBondJlMapper.selectOne(wrapper); |
| | | if (auctionBondJl!=null){ |
| | | auctionSalesroom1.setIsBond(2); |
| | | }else{ |
| | | auctionSalesroom1.setIsBond(1); |
| | | } |
| | | |
| | | MemberAuctionSalesroomDTO memberAuctionSalesroomDTO2=new MemberAuctionSalesroomDTO(); |
| | | memberAuctionSalesroomDTO2.setAuctionSalesroomId(auctionSalesroom.getId()); |
| | | |