From a195948e2f1db9d413194f7d33c93cca6a796ca8 Mon Sep 17 00:00:00 2001
From: jiazx0107@163.com <jiazx0107@163.com>
Date: 星期三, 05 七月 2023 02:42:11 +0800
Subject: [PATCH] 增加海康SDK,整理自动抬干业务逻辑

---
 igds-inout/src/main/java/com/ld/igds/inout/service/InoutService.java |   63 +++++++++++--------------------
 1 files changed, 22 insertions(+), 41 deletions(-)

diff --git a/igds-inout/src/main/java/com/ld/igds/inout/service/InoutService.java b/igds-inout/src/main/java/com/ld/igds/inout/service/InoutService.java
index 6997400..ee10982 100644
--- a/igds-inout/src/main/java/com/ld/igds/inout/service/InoutService.java
+++ b/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);
-
-    /**
-     * 鏍规嵁缁勭粐缂栫爜鍜屽寲楠岋缉锛よ幏鍙栧寲楠岀粨鏋滀俊鎭�
-     *
-     * @param companyId
-     * @param checkId
-     * @return
-     */
-    List<CheckItemData> getCheckCache(String companyId, String checkId);
 
     /**
      * 鑾峰彇鍑哄叆搴撴祦姘碔D搴忓彿
@@ -273,13 +236,31 @@
      * @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);
+
+    /**
+     * 鏍规嵁鍙傛暟鏌ヨ鏁版嵁锛屾祦绋嬩腑鐨勬暟鎹�
+     *
+     * @param param
+     * @return
+     * @throws Exception
+     */
+    InoutCheckData inoutDataByCheckId(InoutCheckParam param) throws Exception;
 }

--
Gitblit v1.9.3