package com.njcn.device.pq.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njcn.device.pq.pojo.dto.PqIcdPathDTO;
import com.njcn.device.pq.pojo.param.PqIcdPathParam;
import com.njcn.device.pq.pojo.po.PqIcdPath;
import com.baomidou.mybatisplus.extension.service.IService;
import com.njcn.web.pojo.param.BaseParam;

import java.util.List;

/**
 * Description:
 * Date: 2024/11/5  11:24【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
public interface PqIcdPathService extends IService<PqIcdPath> {

    /**
     * 前置获取icd模型
     * @param devType
     * @return
     */
    List<PqIcdPathDTO> icdPathList(List<String> devType);

    /**
     * @Description: 分页查询icd信息
     * @param param
     * @return: com.baomidou.mybatisplus.extension.plugins.pagination.Page<com.njcn.device.pq.pojo.po.PqIcdPath>
     * @Author: wr
     * @Date: 2025/4/17 10:47
     */
    Page<PqIcdPath> pageIcdList(BaseParam param);

    /**
     * @Description: 新增icd
     * @param pqIcdPathParam
     * @return: java.lang.Boolean
     * @Author: wr
     * @Date: 2025/4/17 10:43
     */
    Boolean addIcdPath(PqIcdPathParam pqIcdPathParam);

    /**
     * @Description: 修改icd
     * @param param
     * @return: java.lang.Boolean
     * @Author: wr
     * @Date: 2025/4/17 10:43
     */
    Boolean updateIcdPath(PqIcdPathParam.PqIcdPathUpdateParam param);

    /**
     * 删除icd信息
     * @param ids
     * @return
     */
    Boolean delIcdPath(List<String> ids);
}
