From f7932f5848903427a2c08f8eb40bc0022410de42 Mon Sep 17 00:00:00 2001
From: dengzedong <dengzedong@email>
Date: 星期三, 25 九月 2024 19:03:05 +0800
Subject: [PATCH] 项目打包通过cl命令生成dll

---
 iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mpk/MpkFileDao.xml |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mpk/MpkFileDao.xml b/iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mpk/MpkFileDao.xml
index 3451506..3a7e1a6 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mpk/MpkFileDao.xml
+++ b/iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mpk/MpkFileDao.xml
@@ -93,10 +93,13 @@
                 LEFT JOIN t_mpk_model_method b ON a.id = b.mpk_file_id
                 LEFT JOIN t_mpk_method_setting c ON b.id = c.method_id
                 LEFT JOIN t_mpk_setting_select d ON c.id = d.setting_id
+                LEFT JOIN t_mpk_file_menu e ON e.name = a.menu_name
+                LEFT JOIN t_mpk_file_group f ON f.menu_id = e.id and f.name = a.group_name
         WHERE a.id in
         <foreach collection="ids" item="item" open="(" close=")" separator=",">
             #{item}
         </foreach>
+        ORDER BY e.sort,f.sort,a.create_date
     </select>
     <select id="getProjectModelCount" resultType="java.lang.Integer" parameterType="java.lang.String">
         SELECT
@@ -109,6 +112,7 @@
     <select id="getProjectModel" resultMap="mpkFile">
         SELECT
             t3.*,
+            t4.id method_id,
             t4.method_name,
             t4.data_length,
             t4.model,
@@ -127,12 +131,7 @@
         FROM
             (
                 SELECT
-                    t2.id,
-                    t2.py_name,
-                    t2.pkg_name,
-                    t2.py_module,
-                    t2.remark,
-                    t2.create_date
+                    t2.*
                 FROM
                     t_mpk_project_model t1
                         LEFT JOIN t_mpk_file t2 ON t1.model_id = t2.id

--
Gitblit v1.9.3