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

import com.huaheng.framework.web.domain.AjaxResult;
import com.huaheng.pc.receipt.receiptContainerHeader.domain.ReceiptContainerHeader;
import com.baomidou.mybatisplus.extension.service.IService;
import com.huaheng.pc.receipt.receiptContainerHeader.domain.ReceiptContainerView;

import java.util.List;

public interface ReceiptContainerHeaderService extends IService<ReceiptContainerHeader>{

    /**
     * 保存入库组盘
     * @param receiptCode 入库单编码
     * @param containerCode 容器编码
     * @param receiptDetailId 入库单详情id
     * @param locationCode 库位编码
     * @param qty 收货数量
     * @param locatingRule 定位规则
     * @return 是否保存成功
     */
    AjaxResult saveCountain(String receiptCode, String containerCode, Integer receiptDetailId,
                            String locationCode, Integer qty, String locatingRule);

    Boolean cancelByIds(List<Integer> id);

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

    AjaxResult batchSave(List<ReceiptContainerView> list);
}