ShipmentDetailService.java 803 Bytes
package com.huaheng.pc.shipment.shipmentDetail.service;

import com.huaheng.framework.web.domain.AjaxResult;
import com.huaheng.pc.shipment.shipmentDetail.domain.ShipmentDetail;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

public interface ShipmentDetailService extends IService<ShipmentDetail>{

    /**
     * 新增出库明细
     *
     * @param shipmentDetail
     * @return
     */
    AjaxResult insertDetail(ShipmentDetail shipmentDetail);

    AjaxResult deleteDetail(String id);

    Integer countUnCompleted(Integer shipmentId);

    //选中的单据加入波次
    void saveWave(String ids,String code);

    Map<String,Integer> selectStatus(Integer id);

    Boolean insertDetails(List<ShipmentDetail> shipmentDetails);


}