From f390fcffbe653866298e4061c19a2a3d5957aa49 Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期一, 13 五月 2024 10:25:59 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API
---
WebAPI/Controllers/XSGL/Xs_CusRatingChangeBillController.cs | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/WebAPI/Controllers/XSGL/Xs_CusRatingChangeBillController.cs b/WebAPI/Controllers/XSGL/Xs_CusRatingChangeBillController.cs
index 819685a..28a49b0 100644
--- a/WebAPI/Controllers/XSGL/Xs_CusRatingChangeBillController.cs
+++ b/WebAPI/Controllers/XSGL/Xs_CusRatingChangeBillController.cs
@@ -359,7 +359,7 @@
objJsonResult.code = "1";
objJsonResult.count = 1;
- objJsonResult.Message = "Sucess锛�";
+ objJsonResult.Message = "鎮ㄥ凡鍒犻櫎鍗曟嵁鍙蜂负" + BillOld.omodel.HBillNo + "鐨勪俊鐢ㄩ搴︾敵璇峰崟锛�";
objJsonResult.data = null;
return objJsonResult;
}
@@ -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