From 445f0928ea74a18e72e65a520c0023508e14e936 Mon Sep 17 00:00:00 2001
From: llj <132905093+newwwwwwtree@users.noreply.github.com>
Date: 星期五, 15 五月 2026 16:52:57 +0800
Subject: [PATCH] 1

---
 WebAPI/Controllers/SBGL/Gy_FixCardChangeBillController.cs |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/WebAPI/Controllers/SBGL/Gy_FixCardChangeBillController.cs b/WebAPI/Controllers/SBGL/Gy_FixCardChangeBillController.cs
index 98da308..518e72f 100644
--- a/WebAPI/Controllers/SBGL/Gy_FixCardChangeBillController.cs
+++ b/WebAPI/Controllers/SBGL/Gy_FixCardChangeBillController.cs
@@ -9,9 +9,11 @@
 using System.Net.Http;
 using System.Web.Http;
 using WebAPI.Models;
+using WebAPI.Utility;
 
 namespace WebAPI.Controllers.SBGL
 {
+    [Permission(HModName = "Gy_FixCardChangeBill")]
     public class Gy_FixCardChangeBillController : ApiController
     {
         //鑾峰彇绯荤粺鍙傛暟
@@ -25,6 +27,7 @@
         #region 鍥哄畾璧勪骇鍙樺姩鍗曞垪琛ㄦ煡璇�
         [Route("Gy_FixCardChangeBill/list")]
         [HttpGet]
+        [Permission(HModName = "Gy_FixCardChangeBill_Query")]
         public object list(string sWhere, string user)
         {
             try
@@ -81,6 +84,7 @@
 
         [Route("Gy_FixCardChangeBill/SaveFixCardChangeBillList")]
         [HttpPost]
+        [Permission(HModName = "Gy_FixCardChangeBill_Edit")]
         public object SaveFixCardChangeBillList([FromBody] JObject msg)
         {
             var _value = msg["msg"].ToString();
@@ -169,9 +173,10 @@
         }
         #endregion
 
-        //#region 鍥哄畾璧勪骇鍙樺姩鍗� 鍒犻櫎
+        #region 鍥哄畾璧勪骇鍙樺姩鍗� 鍒犻櫎
         [Route("Gy_FixCardChangeBill/DelFixCardChangeBill")]
         [HttpGet]
+        [Permission(HModName = "Gy_FixCardChangeBill_Delete")]
         public object DelFixCardChangeBill(string HInterID, string user)
         {
             Int64 lngBillKey = 0;
@@ -257,7 +262,7 @@
                 return objJsonResult;
             }
         }
-        //#endregion
+        #endregion
 
         #region 鏍规嵁鍗$墖缂栫爜鏌ユ壘鍥哄畾璧勪骇鍗$墖淇℃伅PDA
         [Route("Gy_PDA_FixCardChangeBill/txtHBarCode_KeyDown")]
@@ -305,6 +310,7 @@
         #region 鍥哄畾璧勪骇鍙樺姩鍗� 瀹℃牳/鍙嶅鏍稿姛鑳�
         [Route("Gy_FixCardChangeBill/CheckGy_FixCardChangeBill")]
         [HttpGet]
+        [Permission(HModName = "Gy_FixCardChangeBill_Check")]
         public object CheckGy_FixCardChangeBill(string HInterID, int Type, string user)
         {
             try
@@ -461,6 +467,7 @@
         #region 鍥哄畾璧勪骇 鍏抽棴/鍙嶅叧闂姛鑳�
         [Route("Gy_FixCardChangeBill/CloseGy_FixCardChangeBill")]
         [HttpGet]
+        [Permission(HModName = "Gy_FixCardChangeBill_Close")]
         public object CloseGy_FixCardChangeBill(string HInterID, int Type, string user)
         {
             try
@@ -567,6 +574,7 @@
         #region 鍥哄畾璧勪骇鍙樺姩鍗� 浣滃簾/鍙嶄綔搴熷姛鑳�
         [Route("Gy_FixCardChangeBill/DropGy_FixCardChangeBill")]
         [HttpGet]
+        [Permission(HModName = "Gy_FixCardChangeBill_Drop")]
         public object DropGy_FixCardChangeBill(string HInterID, int Type, string user)
         {
             try

--
Gitblit v1.9.1