|
|
@@ -109,6 +109,11 @@ public class HlwCompanySubcontractorApiController extends JeecgController<HlwCom
|
|
|
if (applicationType != null) {
|
|
|
list = list.stream().filter(item -> item.getIsOn().equals(1)).collect(Collectors.toList());
|
|
|
}
|
|
|
+ for (int i = 0; i < list.size(); i++) {
|
|
|
+ //查询企业开票内容
|
|
|
+ List<HlwCompanyInvoiceCategory> invoiceCategoryList = hlwCompanyInvoiceCategoryService.findCompanyInvoiceList(list.get(i).getId());
|
|
|
+ list.get(i).setCompanyInvoiceCategoryList(invoiceCategoryList);
|
|
|
+ }
|
|
|
return Result.ok(list);
|
|
|
} else {
|
|
|
Page<HlwCompanySubcontractor> page = new Page<HlwCompanySubcontractor>(pageNo, pageSize);
|