版本更新 v2.2.0

This commit is contained in:
疯狂的狮子li
2021-05-25 14:31:52 +08:00
parent 8a94526110
commit a42ef126cd
29 changed files with 260 additions and 85 deletions

View File

@ -29,10 +29,12 @@ public class ${ClassName}EditBo {
#if($column.javaType == 'Date')
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
#end
#if($column.isRequired==1)
#if($column.javaType == 'String')
@NotBlank(message = "$column.columnComment不能为空")
#else
@NotNull(message = "$column.columnComment不能为空")
#end
#end
private $column.javaType $column.javaField;
#end