Browse Source

字典通用接口返回id与parentId

test
smallchill 4 years ago
parent
commit
adf50827c1
  1. 2
      blade-service/blade-system/src/main/java/org/springblade/system/mapper/DictBizMapper.xml
  2. 2
      blade-service/blade-system/src/main/java/org/springblade/system/mapper/DictMapper.xml

2
blade-service/blade-system/src/main/java/org/springblade/system/mapper/DictBizMapper.xml

@ -37,7 +37,7 @@
</select>-->
<select id="getList" resultMap="dictResultMap">
select 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} and parent_id > 0 and is_sealed = 0 and is_deleted = 0
</select>
<select id="tree" resultMap="treeNodeResultMap">

2
blade-service/blade-system/src/main/java/org/springblade/system/mapper/DictMapper.xml

@ -40,7 +40,7 @@
</select>-->
<select id="getList" resultMap="dictResultMap">
select code, dict_key, dict_value, sort, remark from blade_dict 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 where code = #{param1} and parent_id > 0 and is_sealed = 0 and is_deleted = 0
</select>
<select id="tree" resultMap="treeNodeResultMap">

Loading…
Cancel
Save