inspect-server/src/main/java/com/ruoyi/inspect/service/RawMaterialOrderService.java
@@ -5,11 +5,14 @@
import com.ruoyi.basic.dto.*;
import com.ruoyi.basic.pojo.IfsInventoryQuantity;
import com.ruoyi.common.core.domain.Result;
import com.ruoyi.inspect.dto.OrderSplitDTO;
import com.ruoyi.inspect.dto.SampleProductDto;
import com.ruoyi.inspect.pojo.InsOrder;
import com.ruoyi.inspect.dto.CopperInsOrderDto;
import com.ruoyi.inspect.dto.RawMaterialStandardTreeDto;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.UnsupportedEncodingException;
import java.util.List;
@@ -31,6 +34,9 @@
     */
    IPage<IfsInventoryQuantity> getWarehouseSubmit(IPage<IfsInventoryQuantity> page, IfsInventoryQuantity ifsInventoryQuantity);
    /** 查询指定外协分类的待下单数据。 */
    IPage<IfsInventoryQuantity> getOutsourceWarehouseSubmit(IPage<IfsInventoryQuantity> page, IfsInventoryQuantity ifsInventoryQuantity);
    /**
     * 查询检验值
     * @param page
@@ -39,9 +45,18 @@
     */
    IPage<IfsInventoryQuantityDto> getIfsByStateOne(IPage<IfsInventoryQuantityDto> page, IfsInventoryQuantityDto ifsInventoryQuantityDto);
    int inspectionReport(List<Integer> ids);
    /** 查询指定外协分类的检验中数据。 */
    IPage<IfsInventoryQuantityDto> getOutsourceByStateOne(IPage<IfsInventoryQuantityDto> page, IfsInventoryQuantityDto dto);
    int revokeInspectionReport(Integer id);
    /** 查询指定外协分类的已检验数据。 */
    IPage<IfsInventoryQuantitySupplierDto> getOutsourceByOver(Page<IfsInventoryQuantitySupplierDto> page, IfsInventoryQuantitySupplierDto dto);
    /** 查询指定外协分类的全部报检数据。 */
    IPage<IfsInventoryQuantitySupplierDto> getOutsourceByAll(Page<IfsInventoryQuantitySupplierDto> page, IfsInventoryQuantitySupplierDto dto);
    int inspectionReport(List<Long> ids,String orderType,String materialProp);
    int revokeInspectionReport(Long id);
    List<IfsInventoryQuantityDto> printLabel(List<Integer> ids);
@@ -54,7 +69,7 @@
     * @param ifsInventoryId
     * @return
     */
    boolean repealRawOrder(Integer ifsInventoryId);
    boolean repealRawOrder(Long ifsInventoryId);
    /**
     * 添加免检订单
@@ -81,14 +96,14 @@
     * @param ifsInventoryId
     * @return
     */
    boolean rawOrderRelease(Integer ifsInventoryId, String partDetail);
    boolean rawOrderRelease(Long ifsInventoryId, String partDetail);
    /**
     * 原材料下单通知免检或者多次检验
     * @param ifsInventoryId
     * @return
     */
    int notificationRawOrder(Integer ifsInventoryId);
    int notificationRawOrder(Long ifsInventoryId);
    /**
     * 手动添加原材信息
@@ -109,7 +124,7 @@
     * @param ifsInventoryId
     * @return
     */
    boolean concessionRelease(Integer ifsInventoryId);
    boolean concessionRelease(Long ifsInventoryId);
    /**
     * 原材料进厂撤销下单
@@ -145,5 +160,13 @@
     * @param ifsInventoryId
     * @return
     */
    boolean advancedGodown(Integer ifsInventoryId);
    boolean advancedGodown(Long ifsInventoryId);
    void downloadTemplate(HttpServletResponse response);
    Result importSplitOrderData(MultipartFile file,Long ifsId, HttpServletRequest request);
    boolean confirmSplitOrder(OrderSplitDTO orderSplitDTO);
    Long getOrderCountByIfsId(Long ifsId);
}