使用模板报错
Expression primary_key_type is undefined on line 124, column 42 in serviceImplTemplate.ftl.The problematic instruction:
----------
==> ${primary_key_type}
----------
Java backtrace for programmers:
----------
freemarker.core.InvalidReferenceException: Expression primary_key_type is undefined on line 124, column 42 in serviceImplTemplate.ftl.
at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:125)
at freemarker.core.Expression.getStringValue(Expression.java:118)
---------------------------------------------------
/**
* 获得
*
* @param ${jeecg_table_id}
* @return
*/
public ${entityName}Entity get(${primary_key_type} ${jeecg_table_id});
/**
* 获取所有数据
*/
public List<${entityName}Entity> listAll(${entityName}Page ${entityName?uncap_first}Page);
}
工程跑起来,使用模板报错,求解决,困扰好几天了!谢谢!!!!!
页:
[1]