From d291af0ea6fbda27a326d19a6a51d99c1cedff59 Mon Sep 17 00:00:00 2001
From: yxj <yxj@hz-kingdee.com>
Date: 星期五, 09 八月 2024 15:49:05 +0800
Subject: [PATCH] 直接调拨核对模块,扫源单方法增加私有云模式时通过WEBAPI重新同步单据功能;领料出库核对模块,扫物料条码调用方法修改,增加系统参数判断,安瑞先解析条码;新增设备维修记录报表调用方法

---
 WebAPI/Controllers/CJGL/Cj_CallGoodsBillBackController.cs |   37 +++++++++++++++++++++++++++++++++++++
 1 files changed, 37 insertions(+), 0 deletions(-)

diff --git a/WebAPI/Controllers/CJGL/Cj_CallGoodsBillBackController.cs b/WebAPI/Controllers/CJGL/Cj_CallGoodsBillBackController.cs
index f62af96..c71dd6c 100644
--- a/WebAPI/Controllers/CJGL/Cj_CallGoodsBillBackController.cs
+++ b/WebAPI/Controllers/CJGL/Cj_CallGoodsBillBackController.cs
@@ -29,6 +29,7 @@
             public int HOrgID;//缁勭粐
             public string HPZStatus;//鍝佽川纭
             public string HCKStatus;//浠撳簱鎺ユ敹
+            public string Arbitrarily;//浠绘剰鍙傛暟
         }
 
         [Route("Cj_CallGoodsBillBack/CallGoodsBillBackMainList")]
@@ -76,6 +77,7 @@
             }
         }
         #endregion
+
         #region 鍙枡閫�鏂欏崟  鍒犻櫎
         [Route("Cj_CallGoodsBillBack/DelCallGoodsBill")]
         [HttpGet]
@@ -111,5 +113,40 @@
             }
         }
         #endregion
+
+        #region 鍙枡鍗曞垪琛� (榛樿鏌ヨ)
+        [Route("Cj_CallGoodsBillBack/JIT_BackGoodsList")]
+        [HttpGet]
+        public object JIT_BackGoodsList(string HInterID, string user)
+        {
+            try
+            {
+                if (HInterID == null || HInterID.Equals(""))
+                {
+                    objJsonResult.code = "1";
+                    objJsonResult.count = 1;
+                    objJsonResult.Message = null;
+                    objJsonResult.data = new DataTable();
+                    return objJsonResult;
+                }
+               
+                ds = oCN.RunProcReturn($"exec h_p_JIT_BackGoods_Load '{HInterID}'", "h_p_JIT_BackGoods_Load");
+
+                objJsonResult.code = "1";
+                objJsonResult.count = 1;
+                objJsonResult.Message = "Sucess锛�";
+                objJsonResult.data = ds.Tables[0];
+                return objJsonResult;
+            }
+            catch (Exception e)
+            {
+                objJsonResult.code = "0";
+                objJsonResult.count = 0;
+                objJsonResult.Message = "娌℃湁杩斿洖浠讳綍璁板綍锛�" + e.ToString();
+                objJsonResult.data = null;
+                return objJsonResult;
+            }
+        }
+        #endregion
     }
 }
\ No newline at end of file

--
Gitblit v1.9.1