| | |
| | | order.setTotalAmount(OrderDTO.getTotalAmount()); |
| | | order.setOrderStatus(OrderStatusEnum.TO_PLAY); |
| | | order.setPoints(OrderDTO.getPoints()); |
| | | order.setGoodsQuantity(OrderDTO.getGoodsQuantity()); |
| | | order.setGoodsQuantity(1); |
| | | order.setReceiverName(OrderDTO.getReceiverName()); |
| | | order.setReceiverPhone(OrderDTO.getReceiverphone()); |
| | | order.setReceiverCity(OrderDTO.getReceiverCity()); |
| | |
| | | wrapper.eq(OrderAuctionBond::getAuctionSalesroomId,OrderDTO.getAuctionSalesroomId()); |
| | | wrapper.eq(OrderAuctionBond::getBondType,2); |
| | | OrderAuctionBond orderAuctionBond = orderAuctionBondMapper.selectOne(wrapper); |
| | | orderAuctionBond.setOrderId(order.getId()); |
| | | orderAuctionBondMapper.updateById(orderAuctionBond); |
| | | if (orderAuctionBond!=null){ |
| | | orderAuctionBond.setOrderId(order.getId()); |
| | | orderAuctionBondMapper.updateById(orderAuctionBond); |
| | | } |
| | | |
| | | } |
| | | |
| | | } |