Pu Zhibing
2025-07-03 0c82398dad95f536e22b5e1966f79aa29b2cf1c9
ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/MenuMapper.xml
@@ -67,6 +67,12 @@
        sys_menu m1
        LEFT join sys_menu m2 ON m1.pcode = m2. CODE
        where m1.`status` = 1
        <if test="null != ids and ids.size() > 0">
            and m1.id in
            <foreach collection="ids" separator="," item="item" open="(" index="index" close=")">
                #{item}
            </foreach>
        </if>
        ORDER BY
        m1.id ASC
    </select>
@@ -119,6 +125,12 @@
        </foreach>
        ) m3 on m1.id = m3.id
        where m1.`status` = 1
        <if test="null != ids and ids.size() > 0">
            and m1.id in
            <foreach collection="ids" separator="," item="item" open="(" index="index" close=")">
                #{item}
            </foreach>
        </if>
        ORDER BY
        m1.id ASC
    </select>