Browse Source

修改分析详情接口

chenhongyan1989 2 months ago
parent
commit
891735dc28

+ 1 - 1
energy-manage-service/src/main/resources/mybatis/analysis/AnalysisTypeMapper.xml

@@ -32,7 +32,7 @@
                type_code,
                type_name
         from analysis_type
-        where 1 = 1
+        where parent_id != 0
         <if test="typeCode != null and typeCode != ''">
             and type_code = #{typeCode,jdbcType=VARCHAR}
         </if>