update Date参数接收Bo实体格式转换

This commit is contained in:
疯狂的狮子li
2021-04-09 11:47:51 +08:00
parent 8b37eca241
commit 88841ac01f
3 changed files with 9 additions and 0 deletions

View File

@ -24,6 +24,9 @@ public class ${ClassName}EditBo {
/** $column.columnComment */
@ApiModelProperty("$column.columnComment")
#if($column.javaType == 'Date')
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
#end
private $column.javaType $column.javaField;
#end
#end