Browse Source

增加菜单的是否为热门项目的搜索条件

chenchen 6 months ago
parent
commit
ecbbd16f88

+ 3 - 0
application-webadmin/src/main/java/com/tourism/webadmin/back/dao/mapper/DirectoryInfoMapper.xml

@@ -74,6 +74,9 @@
             <if test="directoryInfoFilter.parentId != null">
                 AND tour_directory_info.parent_id = #{directoryInfoFilter.parentId}
             </if>
+            <if test="directoryInfoFilter.isHotspot != null">
+            AND tour_directory_info.is_hotspot = #{directoryInfoFilter.isHotspot}
+        </if>
         </if>
     </sql>