Commit c2727c00 authored by 廖旭伟's avatar 廖旭伟

优化名片切换公司后的名片属性变动

parent e61384fd
......@@ -35,6 +35,7 @@ public class BussinesscardServiceImpl extends AbstractCRUDServiceImpl<Bussinessc
CompanyEntity companyEntity = companyService.get(entity.getCompanyId());
if(companyEntity!=null){
entity.setCompanyAdress(companyEntity.getBusinessAdress());
entity.setCompanyName(companyEntity.getCompanyName());
}
}
if(StringUtils.isEmpty(entity.getSetting())){
......@@ -58,6 +59,7 @@ public class BussinesscardServiceImpl extends AbstractCRUDServiceImpl<Bussinessc
CompanyEntity companyEntity = companyService.get(entity.getCompanyId());
if(companyEntity!=null){
entity.setCompanyAdress(companyEntity.getBusinessAdress());
entity.setCompanyName(companyEntity.getCompanyName());
}
}
if(StringUtils.isEmpty(entity.getSetting())){
......
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