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 导出如何实现字典翻译 #589

Open
1 task done
Zhang-Yidadada opened this issue Dec 16, 2024 · 0 comments
Open
1 task done

Excel 导出如何实现字典翻译 #589

Zhang-Yidadada opened this issue Dec 16, 2024 · 0 comments

Comments

@Zhang-Yidadada
Copy link

Zhang-Yidadada commented Dec 16, 2024

I'm seeing this behaviour on

Remove this hint: these checkboxes can be checked like this: [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; }

Tasks

Preview Give feedback
No tasks being tracked yet.
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