|
|
@@ -68,13 +68,18 @@ public class HlwInvoiceApiController extends JeecgController<HlwInvoice, IHlwInv
|
|
|
Integer pageSize = jsonObject.getInteger("pageSize");
|
|
|
String paymentCode = jsonObject.getString("paymentCode");
|
|
|
String subcontractorName = jsonObject.getString("subcontractorName");
|
|
|
- Integer invoiceStatus = jsonObject.getInteger("invoiceStatus");;
|
|
|
+ Integer invoiceStatus = jsonObject.getInteger("invoiceStatus");
|
|
|
+ JSONArray jsonArray = jsonObject.getJSONArray("companyCodeList");
|
|
|
+ List<String> companyCodeList = new ArrayList<>();
|
|
|
+ for (int i = 0; i < jsonArray.size(); i++) {
|
|
|
+ companyCodeList.add(jsonArray.get(i).toString());
|
|
|
+ }
|
|
|
Page<HlwSubcontractorAccountFlow> page = new Page<HlwSubcontractorAccountFlow>(pageNo, pageSize);
|
|
|
HlwSubcontractorAccountFlow hlwSubcontractorAccountFlow=new HlwSubcontractorAccountFlow();
|
|
|
hlwSubcontractorAccountFlow.setPaymentCode(paymentCode);
|
|
|
hlwSubcontractorAccountFlow.setSubcontractorName(subcontractorName);
|
|
|
hlwSubcontractorAccountFlow.setInvoiceStatus(invoiceStatus);
|
|
|
- Page<HlwSubcontractorAccountFlow> pageList = hlwSubcontractorAccountFlowService.invoiceApplyList(page,hlwSubcontractorAccountFlow, applicationId);
|
|
|
+ Page<HlwSubcontractorAccountFlow> pageList = hlwSubcontractorAccountFlowService.invoiceApplyList(page,hlwSubcontractorAccountFlow, applicationId,companyCodeList);
|
|
|
return Result.ok(pageList);
|
|
|
}
|
|
|
|