From 20748641c04dc9a692d7bea3697f08c9c884c3d0 Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期二, 05 十一月 2024 09:29:31 +0800 Subject: [PATCH] cpp.vm --- iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mpk/MpkFileDao.xml | 4 ++++ 1 files changed, 4 insertions(+), 0 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 2abdabd..84df17f 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 @@ -68,6 +68,7 @@ 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 WHERE a.id = #{id} + ORDER BY b.sort,c.sort,d.sort </select> <select id="selectByIds" resultMap="mpkFile"> SELECT @@ -93,10 +94,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 b.sort,c.sort,d.sort,e.sort,f.sort,a.create_date </select> <select id="getProjectModelCount" resultType="java.lang.Integer" parameterType="java.lang.String"> SELECT -- Gitblit v1.9.3