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

导入获取Key-Value,这个功能删除了吗? #67

Open
rai3255 opened this issue Oct 4, 2022 · 0 comments
Open

导入获取Key-Value,这个功能删除了吗? #67

rai3255 opened this issue Oct 4, 2022 · 0 comments

Comments

@rai3255
Copy link

rai3255 commented Oct 4, 2022

autopoi 1.4.3 版本里面,取消了 setKeyMark 了吗?和文档此功能实现说明不一致。
详细见如下文档:http:https://doc.autopoi.jeecg.com/1623977
--------------文档描述------------------------
需要设置两个或者一个值 params.setKeyMark(":"); 判断一个cell是key的规则,可以自定义,默认就是 ":" params.setReadSingleCell(true); 是否需要读取这种单独的sql 读取完毕后,通过result.getMap() 就可以拿到自己想要的值了比如上面的Excel读取到的map就是

{境内详细收货地址、联系人、电话:=1.3112345678E10, 委托方:=一众科技有限公司, 代理方:=上海一众金融信息服务有限公司, 委托单号:=XH-HZHY-20170504, 日期:=2017.5.4, 供应商交货方式:=, 合计:=, 境内交货方式:=, 指定收货人身份证号:=3.7082719880102099E17}

这样就比较方便的处理较为复杂的Excel导入了

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