package cn.ezhizao.project.business.company.service.impl;

import cn.ezhizao.project.business.company.domain.DictRegion;
import cn.ezhizao.project.business.company.mapper.DictRegionMapper;
import cn.ezhizao.project.business.company.service.IDictRegionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 区域Service业务层处理
 *
 * @author ruoyi
 * @date 2023-11-06
 */
@Service
public class DictRegionServiceImpl  extends ServiceImpl<DictRegionMapper, DictRegion> implements IDictRegionService
{
    @Resource
    private DictRegionMapper dictRegionMapper;

    /**
     * 查询区域列表
     *
     * @param dictRegion 区域
     * @return 区域
     */
    @Override
    public List<DictRegion> getList(DictRegion dictRegion)
    {
        return dictRegionMapper.getList(dictRegion);
    }

    /**
     * 物理删除
     * @param dictRegion
     * @return 删除结果
     */
    @Override
    public int physicalDelete(DictRegion dictRegion){ return dictRegionMapper.physicalDelete(dictRegion); };

}
