ICSReceiptDetailService.java 1.42 KB
package com.huaheng.pc.u8.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.huaheng.pc.receipt.receiptDetail.domain.ReceiptDetail;
import com.huaheng.pc.receipt.receiptHeader.domain.ReceiptHeader;
import com.huaheng.pc.u8.domain.ICSReceiptDetail;
import com.huaheng.pc.u8.domain.ICSReceiptHeader;

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

/**
 * 入库下发或回传子单 服务层
 *
 * @author huaheng
 * @date 2019-1-2
 */

public interface ICSReceiptDetailService extends IService<ICSReceiptDetail> {

    public boolean removeByHeaderId(Integer headerId);

    List<ICSReceiptDetail> getDetailsByPI(List<ReceiptDetail> detailList, ICSReceiptHeader header, Map<Integer, BigDecimal> detailsQtyMap);
    List<ICSReceiptDetail> getDetailsByPCI(List<ReceiptDetail> detailList, ICSReceiptHeader header,Map<Integer,BigDecimal> detailsQtyMap);
    List<ICSReceiptDetail> getDetailsByCI(List<ReceiptDetail> detailList, ICSReceiptHeader header,Map<Integer,BigDecimal> detailsQtyMap);
    List<ICSReceiptDetail> getDetailsBySRI(List<ReceiptDetail> detailList, ICSReceiptHeader header,Map<Integer,BigDecimal> detailsQtyMap);
    List<ICSReceiptDetail> getDetailsBySI(List<ReceiptDetail> detailList, ICSReceiptHeader header,Map<Integer,BigDecimal> detailsQtyMap);

    ICSReceiptDetail selectModel(ICSReceiptDetail model);
    List<ICSReceiptDetail> selectModelList(ICSReceiptDetail model);
}