|
@@ -1055,6 +1055,11 @@ public class SupplierInfoServiceImpl extends ServiceImpl<SupplierInfoMapper, Sup
|
|
|
//保存征信信息
|
|
|
creditInvestigationInfoService.lambdaUpdate().eq(CreditInvestigationInfo::getcEnterpriseId, enterprise.getId()).remove();
|
|
|
List<CreditInvestigationInfo> creditInvestigationInfoList = enterprise.getCreditInvestigationInfoList();
|
|
|
+ List<CreditInvestigationInfo> collect = creditInvestigationInfoList.stream().filter(r -> r.getType().equals(CreditInvestigationTypeEnums.TWO.getCode())).collect(Collectors.toList());
|
|
|
+ CreditInvestigationInfo investigationInfo = collect.get(0);
|
|
|
+ //填充大股东
|
|
|
+ enterpriseService.lambdaUpdate().eq(Enterprise::getId,enterprise.getId()).set(Enterprise::getMajorShareholders,investigationInfo.getName()).update();
|
|
|
+ enterprise.setMajorShareholders(investigationInfo.getName());
|
|
|
if (CollectionUtil.isNotEmpty(creditInvestigationInfoList)) {
|
|
|
for (CreditInvestigationInfo creditInvestigationInfo : creditInvestigationInfoList) {
|
|
|
List<Long> fileList = creditInvestigationInfo.getFileList();
|