浏览代码

不明保证金数据异常问题解决

ZC 1 周之前
父节点
当前提交
c9c9f1712f

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

@@ -5,6 +5,7 @@ import java.time.LocalDate;
 import java.util.*;
 import javax.servlet.http.HttpServletResponse;
 
+import com.github.pagehelper.PageInfo;
 import com.ruoyi.common.core.constant.SecurityConstants;
 import com.ruoyi.common.core.utils.DateUtils;
 import com.ruoyi.common.core.utils.uuid.UUID;
@@ -603,6 +604,11 @@ public class BankDepositController extends BaseController {
         startPage();
         List<BankUncleardeposit> list = new ArrayList<>();
         List<BankUncleardeposit> bankUncleardeposits = bankUncleardepositService.refundBankUnclearInfo(bankUncleardeposit);
+
+        System.out.println("DDDDDDDDDDDDDDDDDD");
+        System.out.println(bankUncleardeposits.size());
+        System.out.println("EEEEEEEEEEEEEEEEE");
+
         for(BankUncleardeposit item : bankUncleardeposits){
             Boolean flag = false;
             String company = item.getRtnOppassetname();
@@ -637,7 +643,11 @@ public class BankDepositController extends BaseController {
             }
         }
 
-        for(BankUncleardeposit item : bankUncleardeposits){
+        System.out.println("FFFFFFFFFFFFFFF");
+        System.out.println(list.size());
+        System.out.println("GGGGGGGGGGGGGGGGGG");
+
+        for(BankUncleardeposit item : list){
             if(item.getRtnXferprccode() == null){
                 item.setStatus("未申请退款");
             } else if("PAYOUT".equals(item.getRtnXferprccode())){
@@ -648,6 +658,8 @@ public class BankDepositController extends BaseController {
         }
 
         bankUncleardeposits = list;
+        System.out.println(new PageInfo(list).getTotal());
+        System.out.println("ENEENENENENENNENE");
         return getDataTable(bankUncleardeposits);
     }