|
@@ -37,7 +37,11 @@
|
|
</select>-->
|
|
</select>-->
|
|
|
|
|
|
<select id="getList" resultMap="dictResultMap">
|
|
<select id="getList" resultMap="dictResultMap">
|
|
- select id, parent_id, code, dict_key, dict_value, sort, remark from blade_dict_biz where code = #{param1} and parent_id > 0 and is_sealed = 0 and is_deleted = 0
|
|
|
|
|
|
+ select id, parent_id, code, dict_key, dict_value, sort, remark from blade_dict_biz where code = #{param1}
|
|
|
|
+ <if test="notRoot != null and notRoot != ''">
|
|
|
|
+ and parent_id > 0
|
|
|
|
+ </if>
|
|
|
|
+ and is_sealed = 0 and is_deleted = 0
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="tree" resultMap="treeNodeResultMap">
|
|
<select id="tree" resultMap="treeNodeResultMap">
|