|
|
|
@ -53,8 +53,10 @@ public class PoiStoreService {
|
|
|
|
|
private PrivilageOrganizationalDomainMapper privilageOrganizationalDomainMapper;
|
|
|
|
|
@Autowired
|
|
|
|
|
private RetailCompanyMapper retailCompanyMapper;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 根据区域id找到店铺集合
|
|
|
|
|
*
|
|
|
|
|
* @param regionId
|
|
|
|
|
*/
|
|
|
|
|
public List<PoiStore> getRegionShop(long regionId) {
|
|
|
|
@ -64,6 +66,7 @@ public class PoiStoreService {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 根据区域id找到店铺集合,若没有,则查用户所有店铺
|
|
|
|
|
*
|
|
|
|
|
* @param regionId
|
|
|
|
|
*/
|
|
|
|
|
public List<PoiStore> getRegionShop(long userId, List<Long> customerIds) {
|
|
|
|
@ -94,6 +97,7 @@ public class PoiStoreService {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 根据区域id找到店铺集合,若没有,则查用户所有店铺
|
|
|
|
|
*
|
|
|
|
|
* @param regionId
|
|
|
|
|
*/
|
|
|
|
|
public List<PoiStoreDTO> getRegionShopDTO(long userId, List<Long> customerIds) {
|
|
|
|
@ -115,6 +119,7 @@ public class PoiStoreService {
|
|
|
|
|
}
|
|
|
|
|
return poiStores;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 查询所有店铺
|
|
|
|
|
*
|
|
|
|
@ -127,6 +132,7 @@ public class PoiStoreService {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 根据区域id找到店铺集合,若没有,则查用户所有店铺
|
|
|
|
|
*
|
|
|
|
|
* @param companyId 零售公司ID
|
|
|
|
|
*/
|
|
|
|
|
public List<PoiStore> getStoreByCompanyId(long userId, Long companyId) {
|
|
|
|
@ -145,4 +151,10 @@ public class PoiStoreService {
|
|
|
|
|
}
|
|
|
|
|
return poiStores;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public List<PoiStore> organizationalList(String organizationalIdList) {
|
|
|
|
|
|
|
|
|
|
return poiStoreDOMapper.organizationalList(organizationalIdList);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|