package com.stylefeng.guns.modular.system.service.impl;
|
|
import com.baomidou.mybatisplus.plugins.Page;
|
import com.stylefeng.guns.modular.system.model.TCountry;
|
import com.stylefeng.guns.modular.system.dao.TCountryMapper;
|
import com.stylefeng.guns.modular.system.model.TCountryVo;
|
import com.stylefeng.guns.modular.system.service.ITCountryService;
|
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
|
import org.springframework.stereotype.Service;
|
|
import java.util.List;
|
|
/**
|
* <p>
|
* 国家信息表 服务实现类
|
* </p>
|
*
|
* @author stylefeng
|
* @since 2022-12-29
|
*/
|
@Service
|
public class TCountryServiceImpl extends ServiceImpl<TCountryMapper, TCountry> implements ITCountryService {
|
|
@Override
|
public List getStateList(Page<TCountryVo> tCountryPage, String countryName,String name) {
|
return this.baseMapper.getStateList(tCountryPage,countryName,name);
|
}
|
|
@Override
|
public List getcityList(Page<TCountryVo> tCountryPage, String countryName, String stateName, String name) {
|
return this.baseMapper.getcityList(tCountryPage,countryName,stateName,name);
|
}
|
}
|