From 94c169d9c7809ae78927608ef55c61d24459fdab Mon Sep 17 00:00:00 2001
From: dengzedong <dengzedong@email>
Date: 星期四, 12 十二月 2024 10:47:59 +0800
Subject: [PATCH] 项目打包bug

---
 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/service/impl/MpkFileServiceImpl.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/service/impl/MpkFileServiceImpl.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/service/impl/MpkFileServiceImpl.java
index 47ec99b..ba86a21 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/service/impl/MpkFileServiceImpl.java
+++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/service/impl/MpkFileServiceImpl.java
@@ -363,12 +363,12 @@
 
     @Override
     @DSTransactional(rollbackFor = Exception.class)
-    public byte[] packageModel(List<String> ids, String projectId, String projectName, String zipFileName, String logs, String version) throws IOException, InterruptedException {
+    public byte[] packageModel(String projectId, String projectName, String zipFileName, String logs, String version) throws IOException {
         Long tenantId = TenantContextHolder.getTenantId();
         // 备份文件 租户隔离
         String mpkTenantBakFilePath = mpkBakFilePath + File.separator + tenantId;
 
-        List<MpkFileDTO> entities = baseDao.selectByIds(ids);
+        List<MpkFileDTO> entities = baseDao.selectByProjectId(projectId);
 
         //模板数据
 //        Map<String, Object> map = new HashMap<>();

--
Gitblit v1.9.3