|
@@ -7,12 +7,16 @@ import java.io.IOException;
|
|
import java.util.Random;
|
|
import java.util.Random;
|
|
import javax.servlet.http.HttpServletResponse;
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
|
|
|
|
+import com.ruoyi.common.core.constant.SecurityConstants;
|
|
import com.ruoyi.common.core.utils.DateUtils;
|
|
import com.ruoyi.common.core.utils.DateUtils;
|
|
import com.ruoyi.common.core.utils.uuid.UUID;
|
|
import com.ruoyi.common.core.utils.uuid.UUID;
|
|
import com.ruoyi.mast.bank.domain.BankDepositdesc;
|
|
import com.ruoyi.mast.bank.domain.BankDepositdesc;
|
|
import com.ruoyi.mast.bank.domain.BankTenderpub;
|
|
import com.ruoyi.mast.bank.domain.BankTenderpub;
|
|
|
|
+import com.ruoyi.mast.bank.domain.BankUncleardeposit;
|
|
import com.ruoyi.mast.bank.utils.JsonUtils;
|
|
import com.ruoyi.mast.bank.utils.JsonUtils;
|
|
|
|
+import com.ruoyi.system.api.RemoteBidNoticeService;
|
|
import com.ruoyi.system.api.RemotePlanService;
|
|
import com.ruoyi.system.api.RemotePlanService;
|
|
|
|
+import com.ruoyi.system.api.domain.BidNotice;
|
|
import kong.unirest.core.HttpResponse;
|
|
import kong.unirest.core.HttpResponse;
|
|
import kong.unirest.core.Unirest;
|
|
import kong.unirest.core.Unirest;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -50,6 +54,9 @@ public class BankRefundbatController extends BaseController {
|
|
@Autowired
|
|
@Autowired
|
|
private Environment env;
|
|
private Environment env;
|
|
|
|
|
|
|
|
+ @Autowired
|
|
|
|
+ private RemoteBidNoticeService remoteBidNoticeService;
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 查询批量退还保证金列表
|
|
* 查询批量退还保证金列表
|
|
*/
|
|
*/
|
|
@@ -58,6 +65,17 @@ public class BankRefundbatController extends BaseController {
|
|
public TableDataInfo list(BankRefundbat bankRefundbat) {
|
|
public TableDataInfo list(BankRefundbat bankRefundbat) {
|
|
startPage();
|
|
startPage();
|
|
List<BankRefundbat> list = bankRefundbatService.selectBankRefundbatList(bankRefundbat);
|
|
List<BankRefundbat> list = bankRefundbatService.selectBankRefundbatList(bankRefundbat);
|
|
|
|
+
|
|
|
|
+ Long[] uids = list.stream().map(BankRefundbat::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));
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
return getDataTable(list);
|
|
return getDataTable(list);
|
|
}
|
|
}
|
|
|
|
|