From 58307003d3877aaa94ac0c6c0ee333f4e1b316bd Mon Sep 17 00:00:00 2001
From: zrg <z18737863051@163.com>
Date: 星期六, 11 五月 2024 17:12:30 +0800
Subject: [PATCH] 网页版 增加启动检查项目 基础资料以及 基础资料列表; 网页版 增加 启动检查表 单据编辑模块 以及 单据列表

---
 WebAPI/Controllers/XSGL/Xs_CusRatingChangeBillController.cs |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/WebAPI/Controllers/XSGL/Xs_CusRatingChangeBillController.cs b/WebAPI/Controllers/XSGL/Xs_CusRatingChangeBillController.cs
index cae9bea..28a49b0 100644
--- a/WebAPI/Controllers/XSGL/Xs_CusRatingChangeBillController.cs
+++ b/WebAPI/Controllers/XSGL/Xs_CusRatingChangeBillController.cs
@@ -817,10 +817,20 @@
         /// </summary>
         [Route("Xs_CusRatingChangeBill/getCustomerBalance")]
         [HttpGet]
-        public object getCustomerBalance(Int64 HCusID)
+        public object getCustomerBalance(Int64 HCusID, string CurUserName)
         {
             try
             {
+                //鏌ョ湅鏉冮檺
+                if (!DBUtility.ClsPub.Security_Log("Gy_Customer_Balance", 1, false, CurUserName))
+                {
+                    objJsonResult.code = "0";
+                    objJsonResult.count = 0;
+                    objJsonResult.Message = "鏃犲鎴蜂綑棰濇煡鐪嬫潈闄愶紒";
+                    objJsonResult.data = null;
+                    return objJsonResult;
+                }
+
                 string sql = "exec h_p_Gy_Customer_CrediControl " + HCusID;
                 ds = oCN.RunProcReturn(sql, "h_p_Gy_Customer_CrediControl");
                 if(ds == null || ds.Tables[0].Rows.Count == 0)

--
Gitblit v1.9.1