From a874b928e16320839315b9abcdf2cece1229a424 Mon Sep 17 00:00:00 2001
From: houzhongjian <houzhongyi@126.com>
Date: 星期四, 07 十一月 2024 09:20:38 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/service/impl/MpkFileServiceImpl.java |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 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 84d5eb6..afe68d0 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
@@ -132,10 +132,10 @@
         modelMethodService.insertList(dto.getModelMethods(), entity.getId());
 
         // 替换环境变量MDK_PKGS下的py文件
-        String mdkPkgs = System.getenv("MDK_PKGS");
-        String pyFilePath = mdkPkgs + File.separator + entity.getPyModule().replace(".", File.separator) + File.separator + entity.getPyName() + ".pyd";
-        FileUtil.mkParentDirs(pyFilePath);
-        FileUtil.copy(entity.getFilePath(), pyFilePath, true);
+//        String mdkPkgs = System.getenv("MDK_PKGS");
+//        String pyFilePath = mdkPkgs + File.separator + entity.getPyModule().replace(".", File.separator) + File.separator + entity.getPyName() + ".pyd";
+//        FileUtil.mkParentDirs(pyFilePath);
+//        FileUtil.copy(entity.getFilePath(), pyFilePath, true);
     }
 
     @Override
@@ -149,10 +149,10 @@
         modelMethodService.insertList(dto.getModelMethods(), entity.getId());
 
         // 替换环境变量MDK_PKGS下的py文件
-        String mdkPkgs = System.getenv("MDK_PKGS");
-        String pyFilePath = mdkPkgs + File.separator + entity.getPyModule().replace(".", File.separator) + File.separator + entity.getPyName() + ".pyd";
-        FileUtil.mkParentDirs(pyFilePath);
-        FileUtil.copy(entity.getFilePath(), pyFilePath, true);
+//        String mdkPkgs = System.getenv("MDK_PKGS");
+//        String pyFilePath = mdkPkgs + File.separator + entity.getPyModule().replace(".", File.separator) + File.separator + entity.getPyName() + ".pyd";
+//        FileUtil.mkParentDirs(pyFilePath);
+//        FileUtil.copy(entity.getFilePath(), pyFilePath, true);
     }
 
     @Override

--
Gitblit v1.9.3