jiazx0107@163.com
2023-07-04 785ce007ce4b7b2119a99aacc95cefe9da09e32e
igds-inout/src/main/java/com/ld/igds/inout/service/InoutService.java
@@ -1,6 +1,5 @@
package com.ld.igds.inout.service;
import com.ld.igds.check.dto.CheckItemData;
import com.ld.igds.data.Page;
import com.ld.igds.inout.dto.*;
import com.ld.igds.models.InoutPrice;
@@ -48,7 +47,7 @@
     * @return
     * @throws Exception
     */
    String inoutStop(InoutParam param);
    String inoutStop(InoutParam param) throws Exception;
    /**
     * 根据数据添加,
@@ -133,24 +132,6 @@
     */
    InoutData getFromInoutCache(InoutParam param);
    /**
     * 根据数据进行推送
     *
     * @param result
     */
    void notifyWeb(InoutData result);
    /**
     * 推送大屏
     *
     * @param companyId
     * @param deptId
     * @param progress  可以为空
     */
    void notifyToScreen(String companyId, String deptId, String progress);
    /**
     * 快速完成流程中的订单
     *
@@ -158,7 +139,6 @@
     * @return
     */
    String quickComplete(InoutData data) throws Exception;
    /**
     * 缓存中获取完成的流水
@@ -179,11 +159,10 @@
    /**
     * 获取当前仓库下最后一条记录信息
     *
     * @param companyId
     * @param depotId
     * @param param
     * @return
     */
    InoutData getLastRecord(String companyId, String depotId);
    InoutData getLastRecord(InoutParam param);
    /**
     * 根据损溢记录,添加出入库记录信息
@@ -199,22 +178,6 @@
     * @param param
     */
    void delInoutDataByLossOver(InoutParam param);
    /**
     * 将化验结果存入缓存中
     *
     * @param data
     */
    void setCheckCache(InoutData data);
    /**
     * 根据组织编码和化验ID获取化验结果信息
     *
     * @param companyId
     * @param checkId
     * @return
     */
    List<CheckItemData> getCheckCache(String companyId, String checkId);
    /**
     * 获取出入库流水ID序号
@@ -273,13 +236,22 @@
     * @return
     * @throws Exception
     */
    String updateCheckData(InoutCheckData data);
    String updateCheckData(InoutData data);
    /**
     * 获取粮食定价
     *
     * @param param
     * @return
     */
    List<InoutPrice> getPrice(InoutCheckParam param);
    /**
     * 从缓存中删除
     *
     * @param deptId
     * @param type
     * @param id
     */
    void delFromCache(String deptId, String type, String id);
}