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