|
@@ -260,7 +260,7 @@ public class BizDeductController extends BaseController {
|
|
|
companyCondition.setIds(loopEntrust.stream().map(BizEntrust::getCompanyId).collect(Collectors.toList()));
|
|
|
List<BizCompany> companies = null;
|
|
|
if (loopEntrust.size() > 0) {
|
|
|
- companies = companyService.getList(companyCondition);
|
|
|
+ companies = companyService.getListWithUsername(companyCondition);
|
|
|
} else {
|
|
|
companies = new ArrayList<>();
|
|
|
}
|
|
@@ -283,6 +283,7 @@ public class BizDeductController extends BaseController {
|
|
|
item.setQuotaAmount(v.getQuotaAmount());
|
|
|
item.setCollectionMethod(v.getCollectionMethod());
|
|
|
item.setTaxType(v.getTaxType());
|
|
|
+ item.setLeaderName(v.getLeaderName());
|
|
|
item.setIsTax(monthEntrust.stream().anyMatch(e -> e.getCompanyId().equals(v.getId()) && e.getTaskTypeId().equals(1L)) ? 1 : 0);
|
|
|
item.setIsHousingFund(monthEntrust.stream().anyMatch(e -> e.getCompanyId().equals(v.getId()) && e.getTaskTypeId().equals(3L)) ? 1 : 0);
|
|
|
item.setIsSocialSecurity(monthEntrust.stream().anyMatch(e -> e.getCompanyId().equals(v.getId()) && e.getTaskTypeId().equals(2L)) ? 1 : 0);
|
|
@@ -822,6 +823,7 @@ public class BizDeductController extends BaseController {
|
|
|
bizStatementAccountLoopExport.setChangedSocialSecurity(bizStatementAccountLoop.getChangedSocialSecurity() == 1 ? "是" : "否");
|
|
|
bizStatementAccountLoopExport.setChangedHousingFund(bizStatementAccountLoop.getChangedHousingFund() == 1 ? "是" : "否");
|
|
|
bizStatementAccountLoopExport.setCumulativeIncome(bizStatementAccountLoop.getCumulativeIncome());
|
|
|
+ bizStatementAccountLoopExport.setLeaderName(bizStatementAccountLoop.getLeaderName());
|
|
|
list2.add(bizStatementAccountLoopExport);
|
|
|
}
|
|
|
}
|