ソースを参照

银行不明保证金退款更新

ZC 1 ヶ月 前
コミット
9f000da132

+ 1 - 1
ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/RemoteDepositService.java

@@ -48,6 +48,6 @@ public interface RemoteDepositService {
     @PostMapping("/deposit/updateUnclearDeposit")
     public int updateUnclearDeposit(@RequestHeader(SecurityConstants.FROM_SOURCE) String source);
 
-    @PostMapping("/refundBankUnlear")
+    @PostMapping("/deposit/refundBankUnlear")
     public void refundBankUnlear(@RequestHeader(SecurityConstants.FROM_SOURCE) String source);
 }

+ 15 - 14
ruoyi-modules/hh-bidding/src/main/java/com/hh/bidding/controller/BidTenderController.java

@@ -945,14 +945,14 @@ public class BidTenderController extends BaseController {
                     param.put("hid",hid);
                     BidQuote bidQuote = bidQuoteService.selectQuoteBySupplier(param);
                     if(bidQuote != null){
-                        bidQuote.setStatus(6L);
-                        bidQuoteService.updateBidQuote(bidQuote);
+//                        bidQuote.setStatus(6L);
+//                        bidQuoteService.updateBidQuote(bidQuote);
                     }
 
                     //TODO 冗余执行
                     // 更新公告退款状态
-                    bidNotice.setIsRefund(1L);
-                    bidNoticeService.updateBidNotice(bidNotice);
+//                    bidNotice.setIsRefund(1L);
+//                    bidNoticeService.updateBidNotice(bidNotice);
                 }
             }
         }
@@ -961,6 +961,7 @@ public class BidTenderController extends BaseController {
         for (int i = 0; i < ids.size(); i++){
             depositdescids[i] = ids.get(i);
         }
+        System.out.println("LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL");
         logger.info("depositdescids:{}",depositdescids);
         int i = remoteDepositService.refundDeposit(depositdescids, SecurityConstants.INNER);
         return i;
@@ -1122,18 +1123,18 @@ public class BidTenderController extends BaseController {
                 if(whid.equals(hid) == false){
                     ids.add(item.getDepositdescid());
 
-                    param.put("sid",sid);
-                    param.put("hid",hid);
-                    BidQuote bidQuote = bidQuoteService.selectQuoteBySupplier(param);
-                    System.out.println(bidQuote);
-                    if(bidQuote != null){
-                        bidQuote.setStatus(6L);
-                        bidQuoteService.updateBidQuote(bidQuote);
-                    }
+//                    param.put("sid",sid);
+//                    param.put("hid",hid);
+//                    BidQuote bidQuote = bidQuoteService.selectQuoteBySupplier(param);
+//                    System.out.println(bidQuote);
+//                    if(bidQuote != null){
+//                        bidQuote.setStatus(6L);
+//                        bidQuoteService.updateBidQuote(bidQuote);
+//                    }
                 }
             }
-            bidNotice.setIsRefund(1L);
-            bidNoticeService.updateBidNotice(bidNotice);
+//            bidNotice.setIsRefund(1L);
+//            bidNoticeService.updateBidNotice(bidNotice);
         }
 
         String[] depositdescids = new String[ids.size()];

+ 1 - 1
ruoyi-modules/hh-mast/src/main/java/com/ruoyi/mast/bank/controller/BankUncleardepositController.java

@@ -126,7 +126,7 @@ public class BankUncleardepositController extends BaseController {
         bt.setDestbailamt(bankUncleardeposit.getRtnSelfbal());
 
         // 申请通过并退款
-        bankUncleardeposit.setIsApply(2);
+        bankUncleardeposit.setIsApply(3);
         logger.info("退款状态已更新");
         int i = bankUncleardepositService.updateBankUncleardeposit(bankUncleardeposit);
         logger.info("退款状态更新成功----------------");