|
@@ -212,6 +212,7 @@ public class FundCoordinationController extends DefaultBaseController { |
|
@@ -212,6 +212,7 @@ public class FundCoordinationController extends DefaultBaseController { |
|
212
|
Map<String, List<ReceiptLedgerInfo>> map = query.stream()
|
212
|
Map<String, List<ReceiptLedgerInfo>> map = query.stream()
|
|
213
|
.collect(Collectors.groupingBy(ReceiptLedgerInfo::getCustomerId));
|
213
|
.collect(Collectors.groupingBy(ReceiptLedgerInfo::getCustomerId));
|
|
214
|
StringBuilder customerNameStr = new StringBuilder();
|
214
|
StringBuilder customerNameStr = new StringBuilder();
|
|
|
|
215
|
+ List<String> orderingUnitIds = new ArrayList<>();
|
|
215
|
//无限担保书
|
216
|
//无限担保书
|
|
216
|
StringBuilder unlimitedGuaranteeLetterStr = new StringBuilder();
|
217
|
StringBuilder unlimitedGuaranteeLetterStr = new StringBuilder();
|
|
217
|
//订货单位集合
|
218
|
//订货单位集合
|
|
@@ -232,6 +233,7 @@ public class FundCoordinationController extends DefaultBaseController { |
|
@@ -232,6 +233,7 @@ public class FundCoordinationController extends DefaultBaseController { |
|
232
|
String customerId = entry.getKey();
|
233
|
String customerId = entry.getKey();
|
|
233
|
List<ReceiptLedgerInfo> receiptList = entry.getValue();
|
234
|
List<ReceiptLedgerInfo> receiptList = entry.getValue();
|
|
234
|
customerNameStr.append(receiptList.get(0).getCustomerName()).append("、");
|
235
|
customerNameStr.append(receiptList.get(0).getCustomerName()).append("、");
|
|
|
|
236
|
+ orderingUnitIds.add(customerId);
|
|
235
|
//无限担保书
|
237
|
//无限担保书
|
|
236
|
QueryUnlimitedGuaranteeLetterVo vo1 = new QueryUnlimitedGuaranteeLetterVo();
|
238
|
QueryUnlimitedGuaranteeLetterVo vo1 = new QueryUnlimitedGuaranteeLetterVo();
|
|
237
|
vo1.setOrderingUnit(customerId);
|
239
|
vo1.setOrderingUnit(customerId);
|
|
@@ -329,6 +331,8 @@ public class FundCoordinationController extends DefaultBaseController { |
|
@@ -329,6 +331,8 @@ public class FundCoordinationController extends DefaultBaseController { |
|
329
|
customerNameStr.deleteCharAt(customerNameStr.length() - 1);
|
331
|
customerNameStr.deleteCharAt(customerNameStr.length() - 1);
|
|
330
|
}
|
332
|
}
|
|
331
|
getFundCoordinationBo.setOrderingUnitName(customerNameStr.toString());
|
333
|
getFundCoordinationBo.setOrderingUnitName(customerNameStr.toString());
|
|
|
|
334
|
+ //订货单位IDs
|
|
|
|
335
|
+ getFundCoordinationBo.setOrderingUnitIds(orderingUnitIds);
|
|
332
|
//无限担保书
|
336
|
//无限担保书
|
|
333
|
if (unlimitedGuaranteeLetterStr.length() > 0) {
|
337
|
if (unlimitedGuaranteeLetterStr.length() > 0) {
|
|
334
|
unlimitedGuaranteeLetterStr.deleteCharAt(unlimitedGuaranteeLetterStr.length() - 1);
|
338
|
unlimitedGuaranteeLetterStr.deleteCharAt(unlimitedGuaranteeLetterStr.length() - 1);
|
|
@@ -385,7 +389,7 @@ public class FundCoordinationController extends DefaultBaseController { |
|
@@ -385,7 +389,7 @@ public class FundCoordinationController extends DefaultBaseController { |
|
385
|
*/
|
389
|
*/
|
|
386
|
@ApiOperation("查询冻结的订货单列表")
|
390
|
@ApiOperation("查询冻结的订货单列表")
|
|
387
|
@GetMapping("/queryFreeze")
|
391
|
@GetMapping("/queryFreeze")
|
|
388
|
- public InvokeResult<PageResult<GetPurchaseOrderInfoBo>> queryFreeze(@Valid QueryPurchaseOrderInfoVo vo) {
|
392
|
+ public InvokeResult<PageResult<GetPurchaseOrderInfoBo>> queryFreeze(@Valid @RequestBody QueryPurchaseOrderInfoVo vo) {
|
|
389
|
|
393
|
|
|
390
|
PageResult<PurchaseOrderInfo> pageResult = purchaseOrderInfoService.queryFreeze(getPageIndex(vo), getPageSize(vo), vo);
|
394
|
PageResult<PurchaseOrderInfo> pageResult = purchaseOrderInfoService.queryFreeze(getPageIndex(vo), getPageSize(vo), vo);
|
|
391
|
|
395
|
|