瀏覽代碼

修改分析详情接口

chenhongyan1989 2 月之前
父節點
當前提交
891735dc28
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      energy-manage-service/src/main/resources/mybatis/analysis/AnalysisTypeMapper.xml

+ 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>