新增时间戳正则判断
This commit is contained in:
parent
4477561d92
commit
dfb27bc7f7
@ -50,6 +50,7 @@ public class ${firstUpperTableName}DTO {
|
||||
public void set${firstUpperTableName}Id(String ${firstLowerTableName}Id) {
|
||||
this.${firstLowerTableName}Id = ${firstLowerTableName}Id;
|
||||
}
|
||||
|
||||
<#list fieldList! as field>
|
||||
<#if field.fieldType == "number">
|
||||
public Integer get${field.firstUpperFieldName}() {
|
||||
|
@ -27,8 +27,11 @@ public class ${firstUpperTableName}VO {
|
||||
<#elseif field.fieldType == "double">
|
||||
@CheckNumberAnnotation(name = "${field.fieldExplain}")
|
||||
private Double ${field.fieldName};
|
||||
<#elseif field.fieldType == "date" || field.fieldType == "datetime">
|
||||
<#elseif field.fieldType == "date">
|
||||
@CheckEmptyAnnotation(name = "${field.fieldExplain}", verifyType = "date")
|
||||
private String ${field.fieldName};
|
||||
<#elseif field.fieldType == "datetime">
|
||||
@CheckEmptyAnnotation(name = "${field.fieldExplain}", verifyType = "datetime")
|
||||
private String ${field.fieldName};
|
||||
<#else>
|
||||
<#if field.fieldType == "string">
|
||||
|
Loading…
Reference in New Issue
Block a user