${columnTemplate.columnCode?lower_case?cap_first}() 首字母大写
public int hashCode() {
int result = 17;
<#list tableTemplate.columnTemplateList as columnTemplate>
<#if columnTemplate.columnType =="PrimaryKey" && tableTemplate.containCompositeid == "true">
result = 37 * result + (this.get${columnTemplate.columnCode?lower_case?cap_first}() == null ? 0 : this.get${columnTemplate.columnCodeWithGet}().hashCode());
</#if>
</#list>
return result;
}
代码生成笔记
猜你喜欢
转载自jadeluo.iteye.com/blog/1179001
今日推荐
周排行