From 9ff5e64187837a3bbd78370c1cfaadf2329f97f0 Mon Sep 17 00:00:00 2001
From: 18516761980 <4761516tqsxp>
Date: 星期六, 19 三月 2022 12:47:13 +0800
Subject: [PATCH] .

---
 src/main/java/zy/cloud/wms/manager/controller/WorkController.java |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/main/java/zy/cloud/wms/manager/controller/WorkController.java b/src/main/java/zy/cloud/wms/manager/controller/WorkController.java
index 3e399f2..3729af4 100644
--- a/src/main/java/zy/cloud/wms/manager/controller/WorkController.java
+++ b/src/main/java/zy/cloud/wms/manager/controller/WorkController.java
@@ -77,7 +77,9 @@
     @RequestMapping("/stock/out/print")
     @ManagerAuth(memo = "鎷h揣鍗曟墦鍗�")
     public R stockOutPrint(@RequestBody StockOutParam stockOutParam) {
-        return workService.stockOutPrint(stockOutParam, getUserId(), getHostId());
+
+
+        return workService.stockInPrint(stockOutParam, getUserId(), getHostId());
     }
 
     @RequestMapping("/stock/allot")
@@ -199,8 +201,9 @@
     // 鑾峰彇鎵�鏈夊崟鎹被鍨�
     @RequestMapping("/docType/all/get")
     @ManagerAuth
-    public R getDocTypeData() {
-        List<DocType> docTypes = docTypeService.selectList(new EntityWrapper<DocType>().eq("status", 1).eq("host_id", getHostId()).orderBy("create_time", false));
+    public R getDocTypeData(Integer docClass) {
+        List<DocType> docTypes = docTypeService.selectList(new EntityWrapper<DocType>().eq("status", 1).
+                eq("host_id", getHostId()).orderBy("create_time", false).eq("doc_class",docClass));
         return R.ok().add(docTypes);
     }
 

--
Gitblit v1.9.1