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

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.njcn.product.event.transientes.mapper.PqsDicTreeMapper;
import com.njcn.product.event.transientes.pojo.po.PqsDicTreePO;
import com.njcn.product.event.transientes.service.PqsDicTreeService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: cdf
 * @CreateTime: 2025-08-01
 * @Description:
 */
@Service
public class PqsDicTreeServiceImpl extends ServiceImpl<PqsDicTreeMapper, PqsDicTreePO> implements PqsDicTreeService {


    /**
     * 获取字典树
     */

    @Override
    public List<PqsDicTreePO> getDicTree(String code){
        List<PqsDicTreePO> pqsDicTreePOList = this.getBaseMapper().selectChildrenByCode(code);
        return pqsDicTreePOList;
    }


}
