We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
目前在Excel导出时,不支持以下枚举值映射方式: [ValueMapping("男", 0)] [ValueMapping("女", 1)] 仅支持: [ValueMapping("男", “man”)] 而在导入时,则是反过来,即必须是: [ValueMapping("男", 0)] [ValueMapping("女", 1)] 而不是: [ValueMapping("男", “Man”)] [ValueMapping("女", “Female”)]
The text was updated successfully, but these errors were encountered:
12ad77a
群里反馈: [ValueMapping("男", 0)] 导入没问题,导出模板也没问题 导出数据时,值还是0 而不是男
Sorry, something went wrong.
经验证在ValueMapping非字符串的情况下,可以返回对应的值。 https://github.com/dotnetcore/Magicodes.IE/blob/master/src/Magicodes.ExporterAndImporter.Tests/ExcelExporter_Tests.cs#L758 关于此处 Import
[ValueMapping("男", 0)]
Export
可正常使用,所以关闭此issue。
No branches or pull requests
目前在Excel导出时,不支持以下枚举值映射方式:
[ValueMapping("男", 0)]
[ValueMapping("女", 1)]
仅支持:
[ValueMapping("男", “man”)]
而在导入时,则是反过来,即必须是:
[ValueMapping("男", 0)]
[ValueMapping("女", 1)]
而不是:
[ValueMapping("男", “Man”)]
[ValueMapping("女", “Female”)]
The text was updated successfully, but these errors were encountered: