| | |
| | | wrapper.eq(AuctionSalesroom::getAuctionSalesroomNo,arepartAuctionBidRecordDTO.getAuctionSalesroomQrcode()); |
| | | wrapper.eq(AuctionSalesroom::getDelFlag,0); |
| | | AuctionSalesroom auctionBidRecord = this.getOne(wrapper); |
| | | if(auctionBidRecord.getType().getCode()==0){ |
| | | throw new ServiceException("当前扫码是线下拍卖会"); |
| | | if (auctionBidRecord!=null){ |
| | | if(auctionBidRecord.getType().getCode()==0){ |
| | | throw new ServiceException("当前扫码是线下拍卖会"); |
| | | } |
| | | } |
| | | |
| | | return auctionBidRecord; |
| | | } |
| | | |
| | |
| | | List<OrderAuctionBond> data1 = orderClient.getOrderAuctionBondList1(memberAuctionSalesroomDTO1, SecurityConstants.INNER).getData(); |
| | | if(data1!=null){ |
| | | memberAuctionSalesroomVO.setApplyNum(data1.size()); |
| | | List.add(memberAuctionSalesroomVO); |
| | | |
| | | }else{ |
| | | memberAuctionSalesroomVO.setApplyNum(0); |
| | | } |
| | | |
| | | |
| | | List.add(memberAuctionSalesroomVO); |
| | | } |
| | | page.setRecords(List); |
| | | return PageDTO.of(page); |
| | |
| | | PageDTO<WdMemberAuctionSalesroomVO> wdMemberAuctionSalesroomVOPageDTO = PageDTO.of(auctionSalesroomList, WdMemberAuctionSalesroomVO.class); |
| | | List<WdMemberAuctionSalesroomVO> list = wdMemberAuctionSalesroomVOPageDTO.getList(); |
| | | for (WdMemberAuctionSalesroomVO auctionSalesroom:list){ |
| | | WdMemberAuctionSalesroomVO memberAuctionSalesroomVO=new WdMemberAuctionSalesroomVO(); |
| | | memberAuctionSalesroomVO.setSalesroomName(auctionSalesroom.getSalesroomName()); |
| | | memberAuctionSalesroomVO.setDescription(auctionSalesroom.getDescription()); |
| | | memberAuctionSalesroomVO.setStatus(auctionSalesroom.getStatus()); |
| | | memberAuctionSalesroomVO.setSalesroomId(auctionSalesroom.getId()); |
| | | memberAuctionSalesroomVO.setCoverPic(auctionSalesroom.getCoverPic()); |
| | | MemberAuctionSalesroomDTO memberAuctionSalesroomDTO1=new MemberAuctionSalesroomDTO(); |
| | | memberAuctionSalesroomDTO1.setAuctionSalesroomId(auctionSalesroom.getSalesroomId()); |
| | | memberAuctionSalesroomDTO1.setMemberId(auctionSalesroom.getId()); |
| | | memberAuctionSalesroomDTO1.setAuctionSalesroomId(auctionSalesroom.getId()); |
| | | memberAuctionSalesroomDTO1.setMemberId(MemberAuctionSalesroomDTO.getMemberId()); |
| | | List<OrderAuctionBond> data1 = orderClient.getOrderAuctionBondList1(memberAuctionSalesroomDTO1, SecurityConstants.INNER).getData(); |
| | | if (data1.size()>0){ |
| | | memberAuctionSalesroomVO.setBondTime(data1.get(0).getCreateTime()); |
| | | auctionSalesroom.setBondTime(data1.get(0).getCreateTime()); |
| | | } |
| | | } |
| | | return wdMemberAuctionSalesroomVOPageDTO; |