|
@@ -3,6 +3,12 @@ package com.ruoyi.mast.bank.controller;
|
|
|
import java.util.List;
|
|
|
import java.io.IOException;
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
+
|
|
|
+import com.ruoyi.common.core.constant.SecurityConstants;
|
|
|
+import com.ruoyi.mast.bank.domain.BankUncleardeposit;
|
|
|
+import com.ruoyi.mast.bank.utils.JsonUtils;
|
|
|
+import com.ruoyi.system.api.RemoteBidNoticeService;
|
|
|
+import com.ruoyi.system.api.domain.BidNotice;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
@@ -35,6 +41,9 @@ public class BankDepositdescrController extends BaseController
|
|
|
@Autowired
|
|
|
private IBankDepositdescrService bankDepositdescrService;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private RemoteBidNoticeService remoteBidNoticeService;
|
|
|
+
|
|
|
/**
|
|
|
* 查询查询保证金入账明细r列表
|
|
|
*/
|
|
@@ -44,6 +53,17 @@ public class BankDepositdescrController extends BaseController
|
|
|
{
|
|
|
startPage();
|
|
|
List<BankDepositdescr> list = bankDepositdescrService.selectBankDepositdescrList(bankDepositdescr);
|
|
|
+
|
|
|
+ Long[] uids = list.stream().map(BankDepositdescr::getPpid).toArray(Long[]::new);
|
|
|
+
|
|
|
+ if(uids.length>0){
|
|
|
+ List<BidNotice> blist = remoteBidNoticeService.selectBidNoticeByUids(uids, SecurityConstants.INNER);
|
|
|
+
|
|
|
+ for (int i = 0; i < list.size(); i++) {
|
|
|
+ list.get(i).setCggg(JsonUtils.getBidNoticeName(list.get(i).getPpid(), blist));
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
for(BankDepositdescr item : list){
|
|
|
if("3".equals(item.getRtnRfndst())){
|
|
|
item.setStatus("退款处理中");
|
|
@@ -55,6 +75,7 @@ public class BankDepositdescrController extends BaseController
|
|
|
item.setStatus("未申请退款");
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
return getDataTable(list);
|
|
|
}
|
|
|
|