package com.njcn.product.event.transientes.service.impl;

import com.njcn.product.event.devcie.pojo.dto.PqsDeptDTO;
import org.springframework.stereotype.Service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.njcn.product.event.transientes.mapper.PqsDeptsMapper;
import com.njcn.product.event.transientes.pojo.po.PqsDepts;
import com.njcn.product.event.transientes.service.PqsDeptsService;
/**
 * 
 * Description:
 * Date: 2025/06/19  下午 3:57【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Service
public class PqsDeptsServiceImpl extends ServiceImpl<PqsDeptsMapper, PqsDepts> implements PqsDeptsService{

    @Override
    public List<String> findDeptAndChildren(String deptId) {
        return this.getBaseMapper().findDeptAndChildren(deptId);
    }

    @Override
    public List<PqsDeptDTO> getDeptList(List<String> deptIds) {
        return this.getBaseMapper().getDeptList(deptIds);

    }
}
