ReceiptContainerHeaderService.java 1.99 KB
package com.huaheng.pc.receipt.receiptContainerHeader.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.huaheng.framework.web.domain.AjaxResult;
import com.huaheng.mobile.receipt.ReceiptBill;
import com.huaheng.pc.receipt.receiptContainerHeader.domain.ReceiptContainerHeader;
import com.huaheng.pc.receipt.receiptContainerHeader.domain.ReceiptContainerView;
import com.huaheng.pc.receipt.receiving.domain.ReceivingDamain;
import io.swagger.annotations.ApiParam;

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

public interface ReceiptContainerHeaderService extends IService<ReceiptContainerHeader>{

    /**
     * 保存入库组盘
     *
     * @return 是否保存成功
     */
    AjaxResult saveContainer(ReceiptContainerView receivingDamain);

    /**
     * 取消组盘
     * @param id
     * @return
     */
    Boolean cancelByIds(List<Integer> id);

    /**
     * 检查容器状态
     * @param record
     * @return
     */
    AjaxResult checkContainer(ReceiptContainerView record);


    AjaxResult batchSave(List<ReceiptContainerView> list);

    AjaxResult PDAbatchSave(List<ReceiptContainerView> list);

    /**
     * 移动端校验库位
     * @param record
     * @return
     */
    Boolean mobileCheckLocationCode(ReceiptContainerView record);

    int insertTodayReceiptContainerHeader(ReceiptBill receiptBill, String receiptCode);

    /**
     * 取消入库任务
     * @param id 入库组盘头id
     * @return
     */
    AjaxResult cancelReceipt(Integer id);

    int getUnCompleteCombineNumber(String containerCode);

    List<ReceiptContainerHeader> getUnCompleteCombineList();

    AjaxResult clearContainerHeader();

    public ReceiptContainerHeader selectFirstEntity(ReceiptContainerHeader query);
    public List<ReceiptContainerHeader> selectFirstEntityList(ReceiptContainerHeader query);

    AjaxResult quickNoListReceipt(List<ReceiptBill> receiptBills);

    AjaxResult PDAsaveContainer(ReceiptContainerView receivingDamain);
}