|
|
@@ -231,7 +231,9 @@ public class EnterpriseServiceImpl implements EnterpriseService {
|
|
|
enterprise.setEnAdminEmail(adminUser.getUserEmail());
|
|
|
enterprise.setEnAdminTel(adminUser.getUserTel());
|
|
|
}
|
|
|
- enterprise.setEnBussinesscodeImg(enterprise.getEnBussinessCodeAttach().getId());
|
|
|
+ if(enterprise.getEnBussinessCodeAttach() != null) {
|
|
|
+ enterprise.setEnBussinesscodeImg(enterprise.getEnBussinessCodeAttach().getId());
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
return enterprises;
|