package com.ruoyi.web.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.web.domain.dto.lotPlatFormDevice.LotPlatformDeviceAddRequest;
import com.ruoyi.web.domain.dto.lotPlatFormDevice.LotPlatformDeviceEditRequest;
import com.ruoyi.web.domain.dto.lotPlatFormDevice.LotPlatformDeviceQueryRequest;
import com.ruoyi.web.domain.entity.LotPlatformDevice;
import com.ruoyi.web.domain.vo.LotPlatformDeviceVO;

import java.util.List;


/**
 *
 */
public interface LotPlatformDeviceService extends IService<LotPlatformDevice> {
    Integer addLotPlatformDevice(LotPlatformDeviceAddRequest lotPlatformDeviceAddRequest);

    boolean deleteLotPlatformDevice(String ids);

    void editLotPlatformDevice(LotPlatformDeviceEditRequest lotPlatformDeviceEditRequest);

    /**
     * 根据id获取
     *
     * @param id
     * @return
     */
    LotPlatformDeviceVO getLotPlatformDeviceById(int id);

    LotPlatformDeviceVO getLotPlatformDeviceVO(LotPlatformDevice lotPlatformDevice);

    /**
     * 分页获取列表
     *
     * @param lotPlatformDeviceQueryRequest
     * @return
     */
    Page<LotPlatformDeviceVO> getListLotPlatformDeviceByPage(LotPlatformDeviceQueryRequest lotPlatformDeviceQueryRequest);


    /**
     * 获取查询条件
     *
     * @param lotPlatformDeviceQueryRequest
     * @return
     */
    QueryWrapper<LotPlatformDevice> getQueryWrapper(LotPlatformDeviceQueryRequest lotPlatformDeviceQueryRequest);

    List<LotPlatformDevice> listLotPlatformDevice(LotPlatformDeviceQueryRequest lotPlatformDeviceQueryRequest);
}
