智慧农业后台管理
tangzy
2022-07-14 7abdd3ba7fa34c059f3c867e366d1a2137ae702f
src/main/java/org/springblade/modules/system/mapper/DictBizMapper.xml
@@ -48,4 +48,11 @@
        select id, parent_id, dict_value as title, id as "value", id as "key" from blade_dict_biz where is_deleted = 0 and parent_id = 0
    </select>
    <!--获取字典-微信小程序-->
    <select id="getListWx" resultMap="dictResultMap">
        select id, parent_id, code, dict_key, dict_value, sort, remark from blade_dict_biz
        where code = #{code} and tenant_id = #{tenantId}
        and parent_id > 0 and is_sealed = 0 and is_deleted = 0
    </select>
</mapper>