package com.yh.saas.plugin.yiliangyiyun.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.yh.saas.plugin.yiliangyiyun.entity.PurchasePrice;
import com.yh.saas.plugin.yiliangyiyun.entity.QualityInspectionManagement;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 * 记录质检管理数据信息 服务类
 * </p>
 *
 * @author Gdc
 * @since 2021-09-06
 */
public interface IQualityInspectionManagementService extends IService<QualityInspectionManagement> {
    /**
     * 质检管理列表
     * @param qualityInspectionManagement
     * @return
     */
    Page<QualityInspectionManagement> selectQualityInspection(QualityInspectionManagement qualityInspectionManagement);
    /**
     * 删除质检管理信息
     * @param id
     */
    void deleteQualityInspection(String id);
    /**
     * 查看质检管理信息
     * @param id
     */
    QualityInspectionManagement getQualityInspection(String id);
    /**
     * 添加质检管理信息
     * @param qualityInspectionManagement
     */
    String addQualityInspection(QualityInspectionManagement qualityInspectionManagement);
    /**
     * 编辑质检管理信息
     * @param qualityInspectionManagement
     */
    String editQualityInspection(QualityInspectionManagement qualityInspectionManagement);
    /**
     * 货名下拉列表
     * @param warehouseId
     * @return
     */
    List<PurchasePrice> goodsName(String warehouseId);
    /**
     * 出库管理添加质检管理信息
     * @param qualityInspectionManagement
     */
    String addQualityInspectionOut(QualityInspectionManagement qualityInspectionManagement);
    /**
     * 查客户待结算的数量
     * @param qualityInspectionManagement
     */
    Integer settledCount(QualityInspectionManagement qualityInspectionManagement);
    /**
     * 导入
     * @param qualityInspectionManagement
     */
    String importQuality(QualityInspectionManagement qualityInspectionManagement);
}
