Commit e725b55d authored by hongguangwu's avatar hongguangwu

MVP1.7.16-优化代码

parent e56aa900
...@@ -1561,6 +1561,11 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi ...@@ -1561,6 +1561,11 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi
//附件赋值 //附件赋值
List<TAttaInfo> attaContractInfo = attaInfoService.list(Wrappers.<TAttaInfo>query().lambda() List<TAttaInfo> attaContractInfo = attaInfoService.list(Wrappers.<TAttaInfo>query().lambda()
.eq(TAttaInfo::getDomainId, contract.getId())); .eq(TAttaInfo::getDomainId, contract.getId()));
if (Common.isNotNull(contract.getSignType()) && CommonConstants.ZERO_STRING.equals(contract.getSignType())
&& Common.isNotNull(contract.getContractId())) {
attaContractInfo = attaInfoService.list(Wrappers.<TAttaInfo>query().lambda()
.eq(TAttaInfo::getDomainId, contract.getContractId()));
}
// 如果附件信息非空,则为每个附件生成可访问的URL,并将其添加到员工注册信息中 // 如果附件信息非空,则为每个附件生成可访问的URL,并将其添加到员工注册信息中
if (attaContractInfo != null && !attaContractInfo.isEmpty()) { if (attaContractInfo != null && !attaContractInfo.isEmpty()) {
URL url; URL url;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment