java-retail-app/文档/翻译说明/导出枚举翻译.txt

3 lines
301 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

excel导出时其中有枚举类等内容需要翻译时使用
需要注入 ITransactionCommonService ,在导出时先调用 exportEnumTransaction 方法传入导出语种请求head中的语种和需要使用的枚举值获取所有枚举翻译的Map然后再进行赋值处理