package com.jeequan.jeepay.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jeequan.jeepay.db.entity.RegionCodePayRyx;
import com.jeequan.jeepay.service.mapper.RegionCodePayRyxMapper;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author [mybatis plus generator]
 * @since 2024-03-06
 */
@Service
public class RegionCodePayRyxService extends ServiceImpl<RegionCodePayRyxMapper, RegionCodePayRyx>{

    /**
     * 根据区域名称查询区域信息
     * @param provinceName
     * @param cityName
     * @param areaName
     * @return
     */
    public RegionCodePayRyx getByAreaName(String provinceName,String cityName,String areaName){
        return baseMapper.getByAreaName(provinceName,cityName,areaName);
    }
}
