Skip to content
New issue

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

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

Already on GitHub? # to your account

多sheet导入bug #107

Closed
kasugaharu opened this issue Jun 8, 2020 · 0 comments
Closed

多sheet导入bug #107

kasugaharu opened this issue Jun 8, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@kasugaharu
Copy link
Contributor

kasugaharu commented Jun 8, 2020

问题描述:
如果ImportMultipleSheet 方法调用的 Excel模型中存在有需要检验判重的属性,e.g.[ImporterHeader(Name = "*节点编码", IsAllowRepeat = false)],
则会在方法执行到
ImportMultipleSheetHelper->RepeatDataCheck->
var qDataByProp = qDataList
.Select($"new(RowData.{notAllowRepeatCol.PropertyName} as Value, RowIndex)")
.OrderBy("Value").ToDynamicList();
时报异常
image

移除IsAllowRepeat = false后恢复正常导入结果

@kasugaharu kasugaharu reopened this Jun 8, 2020
@hueifeng hueifeng added the bug Something isn't working label Jun 8, 2020
hueifeng added a commit that referenced this issue Jun 9, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants