package com.njcn.device.device.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.njcn.device.pq.pojo.param.PqDevTypeParam;
import com.njcn.device.pq.pojo.po.PqDevType;
import com.njcn.web.pojo.param.BaseParam;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

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


    /**
     * @Description: 分页查询装置型号信息
     * @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<PqDevType> pageDevTypeList(BaseParam param);

    /**
     * @Description: 新增装置型号
     * @param param
     * @return: java.lang.Boolean
     * @Author: wr
     * @Date: 2025/4/17 10:43
     */
    Boolean addDevType(PqDevTypeParam param);

    /**
     * @Description: 修改装置型号
     * @param param
     * @return: java.lang.Boolean
     * @Author: wr
     * @Date: 2025/4/17 10:43
     */
    Boolean updateDevType(PqDevTypeParam.PqDevTypeUpdateParam param);

    /**
     * 删除装置型号信息
     * @param ids
     * @return
     */
    Boolean delIDevType(List<String> ids);

    void batchTerminal(MultipartFile file, HttpServletResponse response);
}
