package com.jwipc.supplier.client;

import com.jwipc.tender.client.dto.QuotaManagementClientDTO;
import com.jwipc.tender.client.dto.QuotaManagementParamClientDTO;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author shenyang.ou
 * @date 2024/4/1 12:52
 * @desc
 */
public interface QuotaManagementClient {
    public List<QuotaManagementClientDTO> getByMaterialCodeAndFactoryCode(String materialCode,String factoryCode);

    public String getByMaterialCodeAndFactoryCodeMaxQuote(String materialCode,String factoryCode);
    BigDecimal getQuota(String materialCode, String factoryCode, String supplierCode);

    public void deleteByMaterialCode(String materialCode);
    public void deleteByMaterialCodeAndFactoryCode(String materialCode,String factoryCode);

    public void saveQuota(List<QuotaManagementParamClientDTO> list);
}
