master
周文涛 2 years ago
parent d9ef162cac
commit ace0c13502

@ -24,9 +24,9 @@ import java.util.Date;
public class Add${entityName}PVO implements Serializable{ public class Add${entityName}PVO implements Serializable{
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
<#list originalColumns as po> <#list originalColumns as po>
/**${po.filedComment}*/
<#if po.fieldName == primaryKeyField> <#if po.fieldName == primaryKeyField>
<#else> <#else>
/**${po.filedComment}*/
<#if po.fieldType =='Date'> <#if po.fieldType =='Date'>
<#if po.fieldDbType =='date'> <#if po.fieldDbType =='date'>
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
@ -41,9 +41,9 @@ public class Add${entityName}PVO implements Serializable{
<#else> <#else>
</#if> </#if>
</#if> </#if>
<#if po.fieldName != primaryKeyField>
@ApiModelProperty(value = "${po.filedComment}") @ApiModelProperty(value = "${po.filedComment}")
<#if po.fieldName == 'delFlag'> private <#if po.fieldType=='java.sql.Blob'>byte[]<#else>${po.fieldType}</#if> ${po.fieldName};
</#if> </#if>
private <#if po.fieldType=='java.sql.Blob'>byte[]<#else>${po.fieldType}</#if> ${po.fieldName};
</#list> </#list>
} }

Loading…
Cancel
Save