|
|
|
@ -155,11 +155,16 @@ public class StoreEmployeeService {
|
|
|
|
|
//客户orgId
|
|
|
|
|
Long customerId = privilageDomainEntityDOMapper.selectDomainIdByShopEntity(cpUserStore.getId());
|
|
|
|
|
|
|
|
|
|
PrivilageOrganizational company = retailCompanyMapper.selectById(customerId);
|
|
|
|
|
PrivilageOrganizational region = retailCompanyMapper.selectById(company.getParentId());
|
|
|
|
|
if (customerId != null){
|
|
|
|
|
PrivilageOrganizational customer = retailCompanyMapper.selectById(customerId);
|
|
|
|
|
PrivilageOrganizational company = retailCompanyMapper.selectById(customer.getParentId());
|
|
|
|
|
PrivilageOrganizational region = retailCompanyMapper.selectById(company.getParentId());
|
|
|
|
|
|
|
|
|
|
cpUserStore.setCompanyName(company.getName());
|
|
|
|
|
cpUserStore.setRegionName(region.getName());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cpUserStore.setCompanyName(company.getName());
|
|
|
|
|
cpUserStore.setRegionName(region.getName());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
String qrCodeAction = cpUserStore.getQrCodeAction();
|
|
|
|
|