代码生成器日期处理BUG

v1.4.1
Parker 4 years ago
parent 71f7ff5954
commit bbfe404feb

@ -69,7 +69,7 @@ public class #(data.model.tableName)Model extends ApiWrapper {
#end #end
#end #end
### ###
#if(column.javaType == "Date" #if(column.javaType == "Date")
#if(column.showType == "4") #if(column.showType == "4")
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
@DateTimeFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd")

Loading…
Cancel
Save