From 0520581c65a2d93c1d02359180c77b8fb911dc55 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期二, 27 十月 2026 16:12:11 +0800
Subject: [PATCH] refactor(auth): 移除多个模块中的权限校验注解

---
 yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/dal/mysql/agent/AgentImportCommandMapper.java |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/dal/mysql/agent/AgentImportCommandMapper.java b/yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/dal/mysql/agent/AgentImportCommandMapper.java
index 1308c76..c90cc64 100644
--- a/yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/dal/mysql/agent/AgentImportCommandMapper.java
+++ b/yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/dal/mysql/agent/AgentImportCommandMapper.java
@@ -8,19 +8,15 @@
 @Mapper
 public interface AgentImportCommandMapper extends BaseMapperX<AgentImportCommandDO> {
 
-    default AgentImportCommandDO selectByCommandId(Long tenantId, Long ownerUserId,
-                                                   String moduleId, String commandId) {
+    default AgentImportCommandDO selectByCommandId(Long ownerUserId, String moduleId, String commandId) {
         return selectOne(new LambdaQueryWrapperX<AgentImportCommandDO>()
-                .eq(AgentImportCommandDO::getTenantId, tenantId)
                 .eq(AgentImportCommandDO::getOwnerUserId, ownerUserId)
                 .eq(AgentImportCommandDO::getModuleId, moduleId)
                 .eq(AgentImportCommandDO::getCommandId, commandId));
     }
 
-    default AgentImportCommandDO selectByIdempotencyKey(Long tenantId, Long ownerUserId,
-                                                        String moduleId, String idempotencyKey) {
+    default AgentImportCommandDO selectByIdempotencyKey(Long ownerUserId, String moduleId, String idempotencyKey) {
         return selectOne(new LambdaQueryWrapperX<AgentImportCommandDO>()
-                .eq(AgentImportCommandDO::getTenantId, tenantId)
                 .eq(AgentImportCommandDO::getOwnerUserId, ownerUserId)
                 .eq(AgentImportCommandDO::getModuleId, moduleId)
                 .eq(AgentImportCommandDO::getIdempotencyKey, idempotencyKey));

--
Gitblit v1.9.3