<?xml version="1.0" encoding="utf-8"?>
<template>
	<name>dao</name>
	<filePath>src/main/java/${packageName}/${moduleName}/dao/${subModuleName}</filePath>
	<fileName>${ClassName}Dao.java</fileName>
	<content><![CDATA[
/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package ${packageName}.${moduleName}.dao<#if subModuleName != "">.${subModuleName}</#if>;

<#list table.importGridJavaDaoList as i>
import ${i};
</#list>
import com.jeeplus.common.persistence.CrudDao;
import com.jeeplus.common.persistence.annotation.MyBatisDao;
import ${packageName}.${moduleName}.entity<#if subModuleName != "">.${subModuleName}</#if>.${ClassName};

/**
 * ${functionName}DAO接口
 * @author ${functionAuthor}
 * @version ${functionVersion}
 */
@MyBatisDao
public interface ${ClassName}Dao extends CrudDao<${ClassName}> {

	<#list table.columnList as c>
		<#-- 如果存在自定义java对象 -->
			<#if c.tableName?? && c.tableName!="">
	public List<${c.simpleJavaType}> findListBy${c.simpleJavaField}(${c.simpleJavaType} ${c.simpleJavaField});
			</#if>
	</#list>
	
}]]>
	</content>
</template>