From 45ccb96b7a3a9929e8beb6a2c5793eff6170b56d Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期日, 23 三月 2025 14:12:40 +0800
Subject: [PATCH] curData + T+L

---
 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/ModelServiceApplication.java |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/ModelServiceApplication.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/ModelServiceApplication.java
index e080cbe..5907aea 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/ModelServiceApplication.java
+++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/ModelServiceApplication.java
@@ -1,5 +1,6 @@
 package com.iailab;
 
+import com.iailab.module.model.matlab.common.utils.MatlabUtils;
 import com.iailab.module.model.mpk.common.MdkConstant;
 import com.iailab.module.model.mpk.common.utils.DllUtils;
 import iail.mdk.model.common.Environment;
@@ -23,6 +24,8 @@
 
     @Value("${mpk.bak-file-path}")
     private String mpkBakFilePath;
+    @Value("${matlab.bak-file-path}")
+    private String matlabBakFilePath;
 
     @PostConstruct
     void init() {
@@ -47,9 +50,12 @@
 
         //加载项目已发布的dll和jar
         try {
-            log.info("************开始加载项目已发布的dll和jar**************");
+            log.info("************MDK-开始加载项目已发布的dll和jar**************");
             DllUtils.loadProjectPublish(mpkBakFilePath + File.separator + MdkConstant.PROJECT_PUBLISH);
-            log.info("************加载项目已发布的dll和jar结束**************");
+            log.info("************MDK-加载项目已发布的dll和jar结束**************");
+            log.info("************MATLAB-开始加载项目已发布的jar**************");
+            MatlabUtils.loadProjectPublish(matlabBakFilePath + File.separator + MdkConstant.PROJECT_PUBLISH);
+            log.info("************MATLAB-加载项目已发布的jar结束**************");
         } catch (Exception e) {
             e.printStackTrace();
             log.error("加载项目已发布的dll和jar失败");

--
Gitblit v1.9.3