子表模板默认日期格式化

pull/117/MERGE
RuoYi 2021-03-07 12:27:46 +08:00
parent 4a58de4841
commit 25a4b8c285
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ public class ${subClassName} extends BaseEntity
#if($parentheseIndex != -1) #if($parentheseIndex != -1)
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
#elseif($column.javaType == 'Date') #elseif($column.javaType == 'Date')
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "${comment}", width = 30, dateFormat = "yyyy-MM-dd") @Excel(name = "${comment}", width = 30, dateFormat = "yyyy-MM-dd")
#else #else
@Excel(name = "${comment}") @Excel(name = "${comment}")