From 2bf053827c10f3b9d74f9fae8c956a0f2266997f Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期一, 25 十二月 2023 09:34:07 +0800
Subject: [PATCH] Security_Log_second方法无法判断角色权限问题解决; Security_Log方法判断角色权限时对于id最大的一个权限的判断无法判断问题解决。 信用额度申请单、特批申请单、销售订单变更单、应收退款单、收款单:增加查询权限判断。 工艺路线查询:增加查询权限判断。 生产班组、生产资源:增加查询权限判断

---
 WebAPI/Controllers/SCGL/Sc_ComplementGoodBill_ZXBZController.cs |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/WebAPI/Controllers/SCGL/Sc_ComplementGoodBill_ZXBZController.cs b/WebAPI/Controllers/SCGL/Sc_ComplementGoodBill_ZXBZController.cs
index 397030a..4cc13ea 100644
--- a/WebAPI/Controllers/SCGL/Sc_ComplementGoodBill_ZXBZController.cs
+++ b/WebAPI/Controllers/SCGL/Sc_ComplementGoodBill_ZXBZController.cs
@@ -176,7 +176,7 @@
                         {
                             objJsonResult.code = "0";
                             objJsonResult.count = 0;
-                            objJsonResult.Message = "搴撳瓨鏁伴噺涓�0,鏃犳硶鍙枡!";
+                            objJsonResult.Message = $"绗瑊(i + 1)}琛屽簱瀛樻暟閲忎负0,鏃犳硶鍙枡!";
                             objJsonResult.data = null;
                             return objJsonResult;
                         }
@@ -185,7 +185,7 @@
                         {
                             objJsonResult.code = "0";
                             objJsonResult.count = 0;
-                            objJsonResult.Message = "搴撳瓨鏁伴噺灏忎簬鍙枡鏁伴噺,鏃犳硶鍙枡!";
+                            objJsonResult.Message = $"绗瑊(i+1)}琛岃皟鍑轰粨搴撳彲鐢ㄥ簱瀛樻暟閲忓皬浜庡彨鏂欐暟閲�,鏃犳硶鍙枡!";
                             objJsonResult.data = null;
                             return objJsonResult;
                         }
@@ -194,7 +194,7 @@
                         {
                             objJsonResult.code = "0";
                             objJsonResult.count = 0;
-                            objJsonResult.Message = "璇烽�夋嫨璋冨叆浠撳簱!";
+                            objJsonResult.Message = $"绗瑊(i + 1)}琛岃閫夋嫨璋冨叆浠撳簱!";
                             objJsonResult.data = null;
                             return objJsonResult;
                         }
@@ -203,7 +203,7 @@
                         {
                             objJsonResult.code = "0";
                             objJsonResult.count = 0;
-                            objJsonResult.Message = "璇烽�夋嫨璋冨嚭浠撳簱!";
+                            objJsonResult.Message = $"绗瑊(i + 1)}琛岃閫夋嫨璋冨嚭浠撳簱!";
                             objJsonResult.data = null;
                             return objJsonResult;
                         }
@@ -212,7 +212,7 @@
                         {
                             objJsonResult.code = "0";
                             objJsonResult.count = 0;
-                            objJsonResult.Message = "璋冨嚭浠撳簱鍜岃皟鍏ヤ粨搴撲笉鑳戒竴鏍�!";
+                            objJsonResult.Message = $"绗瑊(i + 1)}琛岃皟鍑轰粨搴撳拰璋冨叆浠撳簱涓嶈兘涓�鏍�!";
                             objJsonResult.data = null;
                             return objJsonResult;
                         }
@@ -239,7 +239,7 @@
                         oSub.HSourceEntryID = listCa[i].HSourceEntryID;
                         oSub.HSourceBillType = "88";
                         oSub.HSourceBillNo = listCa[i].HSourceBillNo;
-                        oSub.HQty = double.Parse((listCa[i].鍙枡鏁伴噺 * listCa[i].鏈�灏忓彂鏂欐暟閲�).ToString());
+                        oSub.HQty = double.Parse(listCa[i].鍙枡鏁伴噺.ToString());
 
                         oSub.HMaterID = listCa[i].HMaterialID;
                         oSub.HMaterNumber = listCa[i].HMaterialNumberCol;

--
Gitblit v1.9.1