| | |
| | | wrapper.eq(AuctionSalesroom::getAuctionSalesroomNo,memberAuctionSalesroomDTO.getAuctionSalesroomId()); |
| | | wrapper.eq(AuctionSalesroom::getDelFlag,0); |
| | | byId =this.getOne(wrapper); |
| | | memberAuctionSalesroomDTO.setAuctionSalesroomId(byId.getId()); |
| | | } |
| | | |
| | | if (byId.getType().getCode()==0){ |
| | |
| | | memberAuctionSalesroomInfoVO.setStartTime(byId.getStartTime()); |
| | | memberAuctionSalesroomInfoVO.setStatus(byId.getStatus()); |
| | | memberAuctionSalesroomInfoVO.setCoverPic(byId.getCoverPic()); |
| | | |
| | | List<OrderAuctionBond> data = orderClient.getOrderAuctionBondList1(memberAuctionSalesroomDTO, SecurityConstants.INNER).getData(); |
| | | if (data.size()>0){ |
| | | memberAuctionSalesroomInfoVO.setIsApply(2); |
| | |
| | | @Override |
| | | public void CancelSignUpNow(MemberAuctionSalesroomBondDTO memberAuctionSalesroomBondDTO) { |
| | | if (memberAuctionSalesroomBondDTO.getBondType()==2){ |
| | | AuctionSalesroom byId = this.getById(memberAuctionSalesroomBondDTO.getAuctionSalesroomId()); |
| | | if(byId==null){ |
| | | LambdaQueryWrapper<AuctionSalesroom> wrapper= Wrappers.lambdaQuery(); |
| | | wrapper.eq(AuctionSalesroom::getAuctionSalesroomNo,memberAuctionSalesroomBondDTO.getAuctionSalesroomId()); |
| | | wrapper.eq(AuctionSalesroom::getDelFlag,0); |
| | | byId =this.getOne(wrapper); |
| | | memberAuctionSalesroomBondDTO.setAuctionSalesroomId(byId.getId()); |
| | | } |
| | | |
| | | OrderAuctionBond orderAuctionBond = orderClient.getOrderAuctionBondone(memberAuctionSalesroomBondDTO, SecurityConstants.INNER).getData(); |
| | | |
| | | List<RefundDTO> refundDTOList = new ArrayList<>(); |
| | |
| | | if (byId.getStartingPrice().doubleValue()>bidVO.getLastBidAmount().doubleValue()){ |
| | | throw new ServiceException("出价不能比起拍价低"); |
| | | } |
| | | AuctionSalesroom byId1 = this.getById(bidVO.getAuctionSalesroomId()); |
| | | if(byId1==null){ |
| | | LambdaQueryWrapper<AuctionSalesroom> wrapper= Wrappers.lambdaQuery(); |
| | | wrapper.eq(AuctionSalesroom::getAuctionSalesroomNo,bidVO.getAuctionSalesroomId()); |
| | | wrapper.eq(AuctionSalesroom::getDelFlag,0); |
| | | AuctionSalesroom one = this.getOne(wrapper); |
| | | bidVO.setAuctionSalesroomId(one.getId()); |
| | | } |
| | | |
| | | LambdaQueryWrapper<AuctionBidRecord> wrapper3=Wrappers.lambdaQuery(); |
| | | wrapper3.eq(AuctionBidRecord::getAuctionSalesroomId,bidVO.getAuctionSalesroomId()); |