package com.dsh.course.mapper;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.dsh.course.entity.OpenCity;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
|
public interface OpenCityMapper extends BaseMapper<OpenCity> {
|
|
|
/**
|
* 获取开通城市列表(有效的)
|
* @return
|
*/
|
List<OpenCity> queryOpenCity();
|
|
|
/**
|
* 获取开通城市
|
* @param code
|
* @return
|
*/
|
List<OpenCity> queryByCode(@Param("code") String code);
|
|
List<OpenCity> selectList1();
|
|
|
List<OpenCity> selectListCity(@Param("language") Integer language);
|
|
List<OpenCity> selectListCity1(@Param("language") Integer language, @Param("code") Integer code);
|
|
}
|