IBomManager.java 655 字节
package com.myproject.manager;

import com.myproject.bean.update.Bom;
import com.myproject.bean.update.StoragePos;
import com.myproject.bean.update.WorkOrder;
import com.myproject.exception.ValidateException;

import java.util.List;

/**
 * Created by kangmor on 2015/10/15.
 */
public interface IBomManager extends IManager<Bom> {

    public Bom findByName(String name);

    public Bom addComponent(Bom bom, String componentId, int amount) throws ValidateException;

    public Bom removeComponent(Bom bom, String componentId) throws ValidateException;

    public List<StoragePos> checkoutPerComponent(WorkOrder workOrder) throws ValidateException;
}