智慧农业后台管理
guoshilong
2022-08-01 60c9b50a2f883e8a5f22a4bc21618c509e2bb76b
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>