package com.hfkj.service.impl;

import com.hfkj.dao.SecRegionMapper;
import com.hfkj.entity.SecRegion;
import com.hfkj.service.SecRegionService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("secRegionService")
public class SecRegionServiceImpl implements SecRegionService {

    @Resource
    private SecRegionMapper regionMapper;

    @Override
    public SecRegion getRegionById(Long regionId) {
        return regionMapper.selectByPrimaryKey(regionId);
    }
}
