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.lotPlatformProducts.LotPlatformProductsAddRequest;
import com.ruoyi.web.domain.dto.lotPlatformProducts.LotPlatformProductsEditRequest;
import com.ruoyi.web.domain.dto.lotPlatformProducts.LotPlatformProductsQueryRequest;
import com.ruoyi.web.domain.entity.LotPlatformProducts;
import com.ruoyi.web.domain.vo.LotPlatformProductsVO;

import java.util.List;


/**
 *
 */
public interface LotPlatformProductsService extends IService<LotPlatformProducts> {
    Integer addLotPlatformProducts(LotPlatformProductsAddRequest lotPlatformProductsAddRequest);

    boolean deleteLotPlatformProducts(String ids);

    void editLotPlatformProducts(LotPlatformProductsEditRequest lotPlatformProductsEditRequest);

    /**
     * 根据id获取
     *
     * @param id
     * @return
     */
    LotPlatformProductsVO getLotPlatformProductsById(int id);

    LotPlatformProductsVO getLotPlatformProductsVO(LotPlatformProducts lotPlatformProducts);

    /**
     * 分页获取列表
     *
     * @param lotPlatformProductsQueryRequest
     * @return
     */
    Page<LotPlatformProductsVO> getListLotPlatformProductsByPage(LotPlatformProductsQueryRequest lotPlatformProductsQueryRequest);


    /**
     * 获取查询条件
     *
     * @param lotPlatformProductsQueryRequest
     * @return
     */
    QueryWrapper<LotPlatformProducts> getQueryWrapper(LotPlatformProductsQueryRequest lotPlatformProductsQueryRequest);

    List<LotPlatformProducts> listLotPlatformProducts(LotPlatformProductsQueryRequest lotPlatformProductsQueryRequest);
}
