From 27683d2a8b2338502db930b002f0f1afcefb3cc7 Mon Sep 17 00:00:00 2001 From: DXC Date: Fri, 15 May 2026 09:57:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=80=9F=E7=94=A8=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E7=A7=BB=E9=99=A4=20sku=20=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E7=9A=84=E6=9D=83=E9=99=90=E8=BF=87=E6=BB=A4=EF=BC=8C=E6=89=80?= =?UTF-8?q?=E6=9C=89=E8=A7=92=E8=89=B2=E5=9D=87=E5=8F=AF=E6=AD=A3=E5=B8=B8?= =?UTF-8?q?=E6=9F=A5=E7=9C=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inventory-backend/app/api/v1/transactions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inventory-backend/app/api/v1/transactions.py b/inventory-backend/app/api/v1/transactions.py index 7e82f0a..2f2248d 100644 --- a/inventory-backend/app/api/v1/transactions.py +++ b/inventory-backend/app/api/v1/transactions.py @@ -37,7 +37,7 @@ def filter_item_by_permissions(item_dict, user_permissions, prefix='op_records') field_to_perm = { 'borrow_no': f'{prefix}:borrow_no', 'borrower_name': f'{prefix}:borrower_name', - 'sku': f'{prefix}:sku', + # 'sku': f'{prefix}:sku', # SKU 字段不再参与权限过滤,直接返回 'borrow_time': f'{prefix}:borrow_time', 'return_time': f'{prefix}:return_time', 'status': f'{prefix}:status',