ReceiptContainerDetailService.java 1.42 KB
package com.huaheng.pc.receipt.receiptContainerDetail.service;

import com.huaheng.framework.web.domain.AjaxResult;
import com.huaheng.mobile.receipt.ReceiptBill;
import com.huaheng.pc.receipt.receiptContainerDetail.domain.ReceiptContainerDetail;
import com.baomidou.mybatisplus.extension.service.IService;
import com.huaheng.pc.receipt.receiptContainerHeader.domain.ReceiptContainerView;

import java.util.List;
import java.util.Map;

public interface ReceiptContainerDetailService extends IService<ReceiptContainerDetail>{

    /**
     * 根据入库单编码查询入库组盘明细
     * @param receiptCode 入库单编码
     * @return AjaxResult
     */
    AjaxResult<List<Map<String, Object>>> getReceiptInfoByBill(String receiptCode);

    /**
     * 撤销入库组盘明细
     * @param idList
     * @return
     */
    Boolean detailRemove(List<Integer> idList);

    List<Integer> insertTodayReceiptcContainerDetail(int headerId, int receiptId, List<Integer> receiptDetailId, List<ReceiptBill> receiptBills);

    void autoSendMmsByReceiptContainer(ReceiptContainerDetail receiptContainerDetail);

    List<ReceiptContainerDetail> getReceiptContainerDetailByHeaderId(int receiptContainerHeaderId);

    ReceiptContainerDetail selectFirstEntity(ReceiptContainerDetail domain);

    List<ReceiptContainerView> selectOfView(ReceiptContainerView receiptContainerView);

    AjaxResult getReceiptInfoByBillKS(String code,Integer id);
}