package com.huimv.getdata.service.impl;


import com.huimv.getdata.entity.ErpBdDepartment;
import com.huimv.getdata.entity.ErpBdOrg;
import com.huimv.getdata.mapper.ErpBdDepartmentMapper;
import com.huimv.getdata.mapper.ErpBdOrgMapper;
import com.huimv.getdata.service.IErpBdOrgService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author author
 * @since 2025-01-03
 */
@Service
public class ErpBdOrgServiceImpl extends ServiceImpl<ErpBdOrgMapper, ErpBdOrg> implements IErpBdOrgService {

    @Autowired
    private   ErpBdOrgMapper erpBdOrgMapper;

    @Autowired
    private ErpBdDepartmentMapper erpBdDepartmentMapper;

    @Override
    public List<ErpBdOrg> getOrg() {
       return erpBdOrgMapper.getOrg();
    }

    @Override
    public List<ErpBdDepartment> getDep() {
        return erpBdDepartmentMapper.getDep();
    }
}
