Skip to content

@Excel 注解目前不支持动态数据源 #131

@mrdong916

Description

@mrdong916

目前 @Excel 注解中并没有像 @Dict 一样支持动态数据源,不知是否后续有无支持的计划

或者帮忙看下依照现有的代码进行改造的这种方案是否可行

https://github.com/jeecgboot/autopoi/blob/master/autopoi/src/main/java/org/jeecgframework/poi/excel/imports/base/ImportBaseService.java#L90
@Excel 加入 ds 属性,并将上面这行代码加入数据源的参数,然后再按照 @dict 的思路进行修改base-core模块的AutoPoiDictConfig,使其像 @Dict 的思路一样调用支持数据源的commonAPI

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions