limeng 2 дней назад
Родитель
Сommit
153a3ca341

+ 1 - 1
src/main/resources/mapper/monitor/LabelManagement/CentermonitorSetLabelServiceMapper.xml

@@ -219,7 +219,7 @@
             and a.level = #{level}
             and a.level = #{level}
         </if>
         </if>
         <if test="type != null and type != ''">
         <if test="type != null and type != ''">
-            and b.type = #{type}
+            and a.type = #{type}
         </if>
         </if>
         <if test="parentId != null and parentId != ''">
         <if test="parentId != null and parentId != ''">
             AND ((a.parent_id = #{parentId} AND a.parent_id IS NOT NULL)
             AND ((a.parent_id = #{parentId} AND a.parent_id IS NOT NULL)