package com.jwipc.inquiry.client;


import com.jwipc.inquiry.dto.PurchaseApplyBillDetailClientDTO;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Collection;
import java.util.List;

/**
 * <p> </p>
 *
 * @author ZhangJie
 * @version 1.0
 * @since JDK 1.8
 */

public interface PurchaseApplyBillDetailClient {

     void updatePurchaseAppliyBillDetailForTender(String code, Collection<? extends Serializable> sourceRowIds);

     void cancelPurchaseAppliyBillDetailTender(String code);

     PurchaseApplyBillDetailClientDTO getByBillCodeAndItemCode(String billCode,String itemCode);
     PurchaseApplyBillDetailClientDTO getByBillCode(String billCode);

    void updatePuchaseMethode(String purhaseCode,Integer transferStatus,Collection<? extends Serializable> detailIds);

    void updatePuchaseMethodeById(Integer transferStatus,Collection<? extends Serializable> detailIds);

//    void updatePurchaseAppliyBillDetailForShoppingY(List<String> codeList);
//    void updatePurchaseAppliyBillDetailForShoppingW(List<String> codeList);


    void updateRemainQuantity(List<PurchaseApplyBillDetailClientDTO> applyBillDetailList);


    void updatePurchaseAppliyBillDetailForShoppingW(String code, BigDecimal cartQty);
//    void updatePurchaseAppliyBillDetailForShoppingW(List<String> codeList, BigDecimal cartQty);

    void updatePurchaseAppliyBillDetailForShoppingY(String code, BigDecimal cartQty);
//    void updatePurchaseAppliyBillDetailForShoppingY(List<String> codeList, BigDecimal cartQty);
}
