package ${packageName}.dao;

<#if table.dividedTableType!=0 >
    <#assign Dao = "ICRUDSubmeterDao">
<#else>
    <#assign Dao = "ICRUDDao">
</#if>
import com.mortals.framework.dao.${Dao};
import ${packageName}.model.${ClassName}Entity;
import java.util.List;
/**
* ${functionName}Dao
* ${functionName} DAO接口
*
* @author ${author}
* @date ${datetime}
*/

public interface  ${ClassName}Dao extends ${Dao}<${ClassName}Entity,${pkColumn.javaType}>{

<#if table.tplCategory=="tree" >
    /**
    * 查询子节点
    *
    * @param
    * @return
    */
    List<${ClassName}Entity> selectChildren${ClassName}ById(String ${ClassName?uncap_first}Id);
</#if>

}
