Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mrdong916 opened this issue Oct 29, 2024 · 0 comments
Open

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

mrdong916 opened this issue Oct 29, 2024 · 0 comments

Comments

@mrdong916
Copy link

mrdong916 commented Oct 29, 2024

目前 @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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant