!154 修复代码生成UpdateReqVO时import多一个括号问题

Merge pull request !154 from 岁月无声/feat_chow5945
This commit is contained in:
芋道源码 2022-05-03 04:43:25 +00:00 committed by Gitee
commit 4b09dfe855
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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;