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

import cn.estsh.i3plus.pojo.mes.bean.MesPackingDefine;
import cn.estsh.i3plus.pojo.mes.bean.MesPackingRule;
import cn.estsh.i3plus.pojo.mes.bean.MesPackingRuleDetail;
import io.swagger.annotations.ApiOperation;

import java.util.List;

/**
 * @Description : 成品包装规则
 * @Reference :
 * @Author : wangjie
 * @CreateDate 2024/6/13 15:18
 * @Modify:
 **/
public interface IMesPackingRuleService {

    @ApiOperation(value = "根据物料代码,零件类型查询成品包装明细规则")
    List<MesPackingRuleDetail> getPackingRuleDetailList(String organizeCode, String partNo, String partType);

    @ApiOperation(value = "根据包装代码查询成品包装规则")
    List<MesPackingRule> getPackingRuleList(String organizeCode, List<String> packageCodeList);

    @ApiOperation(value = "根据箱类别代号查询包装定义")
    MesPackingDefine getPackingDefine(String organizeCode, String packCode);

}
