package cn.estsh.i3plus.ext.mes.pcn.api.busi;

import cn.estsh.i3plus.pojo.mes.bean.MesPackage;
import cn.estsh.i3plus.pojo.mes.bean.MesPackageDetail;
import io.swagger.annotations.ApiOperation;

/**
 * @Description : 包装信息
 * @Reference :
 * @Author : wangjie
 * @CreateDate 2024/6/13 15:18
 * @Modify:
 **/
public interface IMesPackageExtService {

    @ApiOperation(value = "根据ID查询包装信息")
    MesPackage getMesPackage(String organizeCode, Long id);

    @ApiOperation(value = "根据包装条码查询包装信息")
    MesPackage getPackageDb(String organizeCode, String packageNo);

    @ApiOperation(value = "根据包装条码查询一条包装明细信息")
    MesPackageDetail getPackageDetailByPackageNo(String organizeCode, String packageNo);

    @ApiOperation(value = "根据零件条码查询一条包装明细信息")
    MesPackageDetail getPackageDetailByProductSn(String organizeCode, String productSn);

    @ApiOperation(value = "根据零件条码及字段名称查询一条包装明细信息")
    MesPackageDetail getPackageDetailByProductSnWithProperty(String organizeCode, String productSn, String propertyName);

}
