Parcourir la source

修改获取业务数据字典接口

huangjn il y a 3 ans
Parent
commit
0885ac8d16

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

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