| | |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.dsh.course.dto.JsDto; |
| | | import com.dsh.course.mapper.StoreMapper; |
| | | import com.dsh.guns.modular.system.model.TImgConfig; |
| | | import com.dsh.guns.modular.system.model.TStore; |
| | | import com.dsh.guns.modular.system.model.TStoreListVo; |
| | | import com.dsh.guns.modular.system.model.TTurn; |
| | | import com.dsh.guns.modular.system.model.dto.SelectDto; |
| | | import com.dsh.guns.modular.system.service.IStoreService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | |
| | | public class StoreServiceImpl extends ServiceImpl<StoreMapper, TStore> implements IStoreService { |
| | | |
| | | @Override |
| | | public List<TStoreListVo> listAll(Page<TStoreListVo> page, String provinceCode, String cityCode, String name, String phone, String shopName) { |
| | | return this.baseMapper.listAll(page,provinceCode,cityCode,name,phone,shopName); |
| | | public List<TStoreListVo> listAll(Page<TStoreListVo> page, String provinceCode, String cityCode, String name, String phone, String shopName,Integer operatorId) { |
| | | return this.baseMapper.listAll(page,provinceCode,cityCode,name,phone,shopName,operatorId); |
| | | } |
| | | @Override |
| | | public List<TStoreListVo> listAllStore(Page<TStoreListVo> page, String provinceCode, String cityCode, String name, String phone, String shopName,Integer id) { |
| | | return this.baseMapper.listAllStore(page,provinceCode,cityCode,name,phone,shopName,id); |
| | | } |
| | | |
| | | /** |
| | |
| | | @Override |
| | | public List<Map<String, Object>> queryCity(String provinceCode, String cityCode) { |
| | | return this.baseMapper.queryCity(provinceCode, cityCode); |
| | | } |
| | | @Override |
| | | public List<Map<String, Object>> queryCity1() { |
| | | return this.baseMapper.queryCity1(); |
| | | } |
| | | |
| | | @Override |
| | |
| | | } |
| | | |
| | | @Override |
| | | public void insert(JsDto jsDto) { |
| | | this.baseMapper.inset(jsDto); |
| | | } |
| | | |
| | | @Override |
| | | public JsDto get(Integer id) { |
| | | return this.baseMapper.get(id); |
| | | } |
| | | |
| | | @Override |
| | | public List<SelectDto> getSelect() { |
| | | return this.baseMapper.getSelect(); |
| | | } |
| | | |
| | | @Override |
| | | public List<TImgConfig> getConfig() { |
| | | |
| | | return this.baseMapper.getConfig1(); |