From 97d38f7b7f7d95fe38cdbb79960106c15454b6ba Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期二, 19 十一月 2024 15:23:51 +0800
Subject: [PATCH] 预警信息

---
 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/controller/admin/MpkFileController.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/controller/admin/MpkFileController.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/controller/admin/MpkFileController.java
index 74f7a1b..9853437 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/controller/admin/MpkFileController.java
+++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/controller/admin/MpkFileController.java
@@ -70,7 +70,7 @@
                 dto.setGroupName(dto.getMenuAndGroup().get(1));
             }
         }
-        dto.setPyModule(packService.getModelPath(dto.getClassName()));
+        dto.setPyModule(packService.getModelPath(dto.getPkgName()));
         mpkFileService.save(dto);
         return CommonResult.success(true);
     }
@@ -91,7 +91,7 @@
                 dto.setGroupName(dto.getMenuAndGroup().get(1));
             }
         }
-        dto.setPyModule(packService.getModelPath(dto.getClassName()));
+        dto.setPyModule(packService.getModelPath(dto.getPkgName()));
         mpkFileService.update(dto);
         return CommonResult.success(true);
     }

--
Gitblit v1.9.3