修复代码生成VO多一个括号问题

(cherry picked from commit 974cef3a534ae575422c75ab5a04b272d18a6b14)
This commit is contained in:
zhoulei@xsyxsc.com 2022-05-03 11:36:48 +08:00
parent 9848a95eb0
commit da2426c80d

View File

@ -7,7 +7,7 @@ import javax.validation.constraints.*;
## 处理 Date 字段的引入 ## 处理 Date 字段的引入
#foreach ($column in $columns) #foreach ($column in $columns)
#if (${column.updateOperation} && (!${column.createOperation} || !${column.listOperationResult}) #if (${column.updateOperation} && (!${column.createOperation} || !${column.listOperationResult})
&& ${column.javaType} == "Date"))## 时间类型 && ${column.javaType} == "Date")## 时间类型
import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat;
import static ${DateUtilsClassName}.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; import static ${DateUtilsClassName}.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;