templates.dao.ftl Maven / Gradle / Ivy
package ${entityInfo.daoPackage};
<#list imports as pkg>
import ${pkg};
#list>
/**
*
* ${entityInfo.tableInfo.remarks!} Dao 接口
*
*
* @author ${author!}
* @since ${date}
*/
public interface ${entityInfo.buildDaoClassFullName(daoConfig)} {
<#if entityInfo.hasMultiId()>
/**
* 根据多个主键查询
*/
${entityInfo.name} getById(<#list entityInfo.idFieldInfoList as field>${field.typeName} ${field.name}<#if field_has_next>, #if>#list>);
#if>
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy