From 95ae0c83d2aa58d86b4039e3f7f16ee93afb8f00 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期五, 23 十月 2026 17:01:00 +0800
Subject: [PATCH] feat(ai): 完善模型管理和智能体导入功能

---
 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