package cn.estsh.i3plus.ext.mes.api.base.ep;

import cn.estsh.i3plus.ext.mes.pojo.model.ep.SxEpPackageModel;
import io.swagger.annotations.ApiOperation;

/**
 * @PROJECT_NAME: i3plus-mes-panasonic
 * @DESCRIPTION:
 * @USER: xinwang.yi
 * @DATE: 2022-02-14 9:26
 */
public interface IEpPackageService {
    /**
     * 根据条码查询包装信息
     * @param organizeCode 组织代码
     * @param organizeCode 包装信息
     * @return packageNo
     */
    @ApiOperation(value = "根据条码查询包装信息", notes = "根据条码查询包装信息")
    public SxEpPackageModel getPackageByNo(String organizeCode, String packageNo);

    /**
     * 校验包装信息是否存在
     * @param organizeCode 组织代码
     * @param organizeCode 包装信息
     * @return true or false
     */
    @ApiOperation(value = "校验包装信息是否存在", notes = "校验包装信息是否存在")
    public boolean checkPackageExistByNo(String organizeCode, String packageNo);
}
