This commit is contained in:
guohb
2024-05-22 15:15:42 +08:00
parent 3d35cd9a1f
commit 82507b31fa
3 changed files with 12 additions and 1 deletions

View File

@@ -435,4 +435,9 @@ public class FranchiseAgreementRequest {
* 装修合同业务分类默认3121375929356587766
*/
private String zxhtywfl;
/**
* 法定代表人或负责人
*/
private String fddbr;
}

View File

@@ -119,7 +119,12 @@ public class ApplyLicenseServiceImpl implements ApplyLicenseService {
List<UserAuthMappingDO> userAuthByMappingIds = userAuthMappingMapper.getUserAuthByMappingIds(Collections.singletonList(String.valueOf(regionId)));
if (CollectionUtils.isNotEmpty(userAuthByMappingIds)) {
List<String> sendUserIds = userAuthByMappingIds.stream().map(UserAuthMappingDO::getUserId).collect(Collectors.toList());
sendUsers.addAll(sendUserIds);
if (CollectionUtils.isNotEmpty(sendUserIds)){
sendUsers = enterpriseUserRoleMapper.getUserIdsByRoleIds(Collections.singletonList("130000000"), sendUserIds);
if (CollectionUtils.isNotEmpty(sendUsers)){
sendUsers.addAll(sendUserIds);
}
}
}
} else {
sendUsers.add(shopInfoDO.getSupervisorUserId());

View File

@@ -291,6 +291,7 @@ public class SignFranchiseServiceImpl implements SignFranchiseService, AuditResu
.yyzzfyj(temp)
.zhihang(linePayDO.getBranchBankName())
.zqyty(SignTypeEnum.getWorkflowStageByCode(request.getSignType()).getSap())
.fddbr(licenseTransactDO.getLicenseLegalPerson())
.build();
}