dotnetcore / dotnetcore/Magicodes.IE
Excel 导出如何实现字典翻译
Open
- Dominant language
- C#
- Stars
- 2.2k
- Forks
- 495
- PR merge metrics
- No merged PRs in 30d
Description
### I'm seeing this behaviour on
_Remove this hint: these checkboxes can be checked like this: [x]_
- [x] Magicodes.IE.Excel
#### package versions
Magicodes.IE.Excel 2.7.5.1
导出 Excel 时,如何根据设置的 ValueMapping,进行字符串匹配的 Mapping,
比如:数据库存储的 NOR,导出的 Excel 翻译成 Normal Sales,导出的配置中,字段上配置了如下,但是导出的 Excel 没有正常翻译。
[ValueMapping("Normal Sales", "NOR")]
[ValueMapping("Credit Memo", "CRE")]
[ValueMapping("Sample", "SMP")]
public string OrderType { set; get; }
```[tasklist]
### Tasks
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.