| | |
| | | public class StoreServiceImpl extends ServiceImpl<StoreMapper,Store> implements StoreService { |
| | | |
| | | @Autowired |
| | | private StoreMapper storeMapper; |
| | | @Autowired |
| | | private GDMapGeocodingUtil gdMapGeocodingUtil; |
| | | |
| | | |
| | | /** |
| | | * 根据城市管理员id获取门店集合 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @Override |
| | | public List<Store> getStoreByCityManagerId(Integer id) { |
| | | return storeMapper.getStoreByCityManagerId(id); |
| | | } |
| | | /** |
| | | * 根据门店员工id获取门店集合 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @Override |
| | | public List<Store> getStoreByStoreStaffId(Integer id) { |
| | | return storeMapper.getStoreByStoreStaffId(id); |
| | | } |
| | | |
| | | |
| | | /** |
| | |
| | | public List<BaseVo> queryStoreByCityCode(String cityCode) throws Exception { |
| | | return this.baseMapper.queryStoreByCityCode(cityCode); |
| | | } |
| | | |
| | | |
| | | } |