From efe9744eb6651298be9f48b84a5f17c58d7b64eb Mon Sep 17 00:00:00 2001
From: rentaiming <806181062@qq.com>
Date: 星期五, 19 七月 2024 14:10:26 +0800
Subject: [PATCH] 修改bug

---
 ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/controller/inner/InnerOrderAuctionBondController.java |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/controller/inner/InnerOrderAuctionBondController.java b/ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/controller/inner/InnerOrderAuctionBondController.java
index 82e9d2e..f762dfe 100644
--- a/ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/controller/inner/InnerOrderAuctionBondController.java
+++ b/ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/controller/inner/InnerOrderAuctionBondController.java
@@ -143,7 +143,8 @@
         LambdaQueryWrapper<OrderAuctionBond> wrapper= Wrappers.lambdaQuery();
         wrapper.eq(OrderAuctionBond::getMemberId,memberAuctionSalesroomBondDTO.getMemberId());
         wrapper.eq(OrderAuctionBond::getAuctionGoodsId,memberAuctionSalesroomBondDTO.getAuctionGoodsId());
-        wrapper.eq(OrderAuctionBond::getBoundStatus,1);
+        wrapper.eq(OrderAuctionBond::getBondType,1);
+        wrapper.eq(OrderAuctionBond::getBoundStatus,2);
         wrapper.eq(OrderAuctionBond::getDelFlag,0);
         OrderAuctionBond one = iOrderAuctionBondService.getOne(wrapper);
         return R.ok(one);
@@ -158,6 +159,7 @@
         LambdaQueryWrapper<OrderAuctionBond> wrapper= Wrappers.lambdaQuery();
         wrapper.eq(OrderAuctionBond::getMemberId,memberAuctionSalesroomBondDTO.getMemberId());
         wrapper.eq(OrderAuctionBond::getAuctionSalesroomId,memberAuctionSalesroomBondDTO.getAuctionSalesroomId());
+        wrapper.eq(OrderAuctionBond::getBondType,2);
         wrapper.eq(OrderAuctionBond::getBoundStatus,2);
         wrapper.eq(OrderAuctionBond::getDelFlag,0);
         OrderAuctionBond one = iOrderAuctionBondService.getOne(wrapper);

--
Gitblit v1.7.1