From 5be07b1a021f596b003eac001f4cb77416ae6c7b Mon Sep 17 00:00:00 2001 From: xuhy <3313886187@qq.com> Date: 星期三, 11 十二月 2024 17:08:47 +0800 Subject: [PATCH] 修改 --- ruoyi-system/src/main/resources/mapper/system/TIndexMenuMapper.xml | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/ruoyi-system/src/main/resources/mapper/system/TIndexMenuMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TIndexMenuMapper.xml index 40046b9..16635ac 100644 --- a/ruoyi-system/src/main/resources/mapper/system/TIndexMenuMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/TIndexMenuMapper.xml @@ -34,17 +34,14 @@ id, menu_name, menu_sort, create_by, create_time, is_delete </sql> <select id="allert" resultMap="tree"> - SELECT tt.id as tid, tt.titile_name,tm.id,tm.major_name + SELECT tt.id as tid, tt.titile_name FROM t_technical_title tt - LEFT JOIN t_title_major tm on tm.technical_id = tt.id - WHERE 1=1 and tt.is_delete = 0 and tm.is_delete = 0 + WHERE 1=1 and tt.is_delete = 0 <if test="cityCode != null and cityCode.size() > 0"> <foreach collection="cityCode" item="id" separator=","> - OR FIND_IN_SET(#{id}, tm.region_ids) + and FIND_IN_SET(#{id}, tt.region_ids) </foreach> </if> - - </select> <select id="userUp" resultType="java.util.Map"> SELECT -- Gitblit v1.7.1