1 commentaire (1 commentaire)0 réactions (0 réactions)0 assignés (0 assignés)Java33 728 stars (33 728 stars)7 599 forks (7 599 forks)batch import
help wanted
Description
问题描述
这是一个无实体的模板导出,我需要将某一列是时间类型的数据指定特定的时间格式. 我是读库获取需要导出的字段,并判断是否是时间类型,所以一切都是动态的,请问能实现吗? 未指定格式时:
期待效果
Guide contributeur
- Stack technique
- java
- Domaine
- backend
- Type d'issue
- feature
- DifficultéDifficulté estimée pour un nouveau contributeur, de 1 pour un très petit changement à 5 pour un travail expert.
- 3
- Temps estiméFourchette de temps approximative pour investiguer, implémenter, tester et préparer une pull request.
- 1-3 hours
- Statut d'activitéDisponibilité apparente de l'issue : fraîche, active, ancienne, bloquée ou en attente d'un mainteneur.
- fresh
- ClartéClarté avec laquelle l'issue explique le changement attendu, les critères d'acceptation et la prochaine étape.
- mostly clear
- Prérequis
- JavaEasyExcel basics
- Accessibilité débutantScore de 1 à 100 estimant l'accessibilité de cette issue pour un premier contributeur.
- 40
- Direction de recherche
- This issue asks how to specify a custom time format for a column in a non entity export template. The user retrieves fields dynamically from a database and needs to apply a time format to date type columns. Review EasyExcel's documentation and source code for custom cell formatting in non entity exports. Look for classes like WriteCellData, CellStyle, or CustomConverter that allow runtime format configuration. Consider if there is a built in annotation or configuration for dynamic date formatting, or if a custom converter is required. The maintainer may have provided hints in the comment (not visible here).