package com.dsh.other.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dsh.other.entity.OperatorUser;
import com.dsh.other.entity.Store;
import com.dsh.other.model.BaseVo;
import com.dsh.other.model.ProvinceAndCityVo;
import com.dsh.other.model.dto.siteDto.StoreInfoDto;
import org.apache.ibatis.annotations.Param;
import org.aspectj.lang.annotation.DeclareParents;
import java.util.List;
import java.util.Map;
/**
*
* 门店信息 Mapper 接口
*
*
* @author jqs
* @since 2023-06-14
*/
public interface StoreMapper extends BaseMapper {
/**
* 获取省数据
*
* @return
*/
List queryProvince();
/**
* 获取市数据
*
* @param pcode
* @return
*/
List queryCity(@Param("pcode") String pcode);
/**
* 根据城市code获取城市列表
*
* @param cityCode
* @return
*/
List queryStoreByCityCode(@Param("provinceCode") String provinceCode, @Param("cityCode") String cityCode);
/**
* 根据城市管理员id获取门店集合
*
* @param id
* @return
*/
List getStoreByCityManagerId(@Param("id") Integer id);
/**
* 根据门店员工id获取门店集合
*
* @param id
* @return
*/
List getStoreByStoreStaffId(@Param("id") Integer id);
String getOName(@Param("operatorId") Integer operatorId);
List