ソースを参照

修改单次退款100条数据

ZC 1 ヶ月 前
コミット
4b53276b89

+ 2 - 0
ruoyi-modules/hh-bidding/src/main/java/com/hh/bidding/controller/BidTenderController.java

@@ -877,12 +877,14 @@ public class BidTenderController extends BaseController {
                     param.put("hid",hid);
                     BidQuote bidQuote = bidQuoteService.selectQuoteBySupplier(param);
                     if(bidQuote != null){
+                        System.out.println("ggggggggggggggggggggggggggggggggg");
                         bidQuote.setStatus(6L);
                         bidQuoteService.updateBidQuote(bidQuote);
                     }
 
                     //TODO 冗余执行
                     // 更新公告退款状态
+                    System.out.println("iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii");
                     bidNotice.setIsRefund(bidNotice.getIsRefund() == null?1:bidNotice.getIsRefund()+1);
                     bidNoticeService.updateBidNotice(bidNotice);
                 }

+ 1 - 1
ruoyi-modules/hh-bidding/src/main/resources/mapper/BidNoticeMapper.xml

@@ -382,7 +382,7 @@
     <select id = "refundNoticeList" parameterType="Long">
         select n.*,t.s_code
         from bid_notice n inner join bid_tender t on n.sid = t.sid
-        where n.fj_type = 1 and n.fj_status =  3 and t.s_project_state = #{state} and (n.is_refund &lt; 1 or n.is_refund is null) order by n.create_time desc limit 60
+        where n.fj_type = 1 and n.fj_status =  3 and t.s_project_state = #{state} and (n.is_refund &lt; 1 or n.is_refund is null) order by n.create_time desc limit 100
     </select>
 
     <select id = "selectNoticeByState">