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

import cn.estsh.i3plus.pojo.mes.bean.recyclablepackage.MesRecyclablePackage;
import cn.estsh.i3plus.pojo.mes.bean.recyclablepackage.MesRecyclablePackagePart;
import cn.estsh.i3plus.pojo.mes.bean.recyclablepackage.MesRecyclablePackageType;
import io.swagger.annotations.ApiOperation;

import java.util.List;

/**
 * @Description : 回收包装
 * @Reference :
 * @Author : junsheng.li
 * @CreateDate 2024/9/7 10:27
 * @Modify:
 **/
public interface IMesRecyclablePackageService {

    @ApiOperation("查询回收包装")
    MesRecyclablePackage getMesRecyclablePackageByPackageSn(String organizeCode, String packageSn);

    @ApiOperation("校验回收包装")
    MesRecyclablePackage checkMesRecyclablePackage(String organizeCode, String packageSn);

    @ApiOperation("查询回收包装零件")
    List<MesRecyclablePackagePart> findMesRecyclablePackagePartByPackageTypeCode(String organizeCode, String packageTypeCode);

    @ApiOperation("校验回收包装零件")
    List<MesRecyclablePackagePart> checkMesRecyclablePackagePart(String organizeCode, String packageTypeCode);

    @ApiOperation("查询回收包装零件")
    MesRecyclablePackagePart getMesRecyclablePackagePartByPackageTypeCodeAndPartNo(String organizeCode, String packageTypeCode, String partNo);

    @ApiOperation("查询回收包装类型")
    MesRecyclablePackageType getMesRecyclablePackageTypeByPackageTypeCode(String organizeCode, String packageTypeCode);

    @ApiOperation("校验回收包装类型")
    MesRecyclablePackageType checkMesRecyclablePackageType(String organizeCode, String packageTypeCode);

}
