/*
* Copyright (c) ${Company} Corporation ${Year} . All rights reserved.
*
*/
package ${servicePackage};

import net.northking.cctp.common.db.BasicService;
import ${entityPackage}.${javaClassRef.getClassName()};

/**
 * ${javaClassRef.getComment()}
 *
 * <p>${Attention} <br>
 * createdate:  ${now}  <br>
 * @author:  ${Author}  <br>
 * @since:  ${Version} <br>
 */
public interface ${javaClassRef.getClassName()}Service extends BasicService<${javaClassRef.getClassName()}>
{
#foreach( ${indexInfo} in ${tableRef.getIndexInfoRefs()})
  /**
   * 根据索引查找
#set($count=0)
#set($paramDefs="")
#set($paramNames="")
#foreach( ${indexColumn} in ${indexInfo.getColumnRefList()})
    #if(${count}>0)
        #set($paramDefs=$paramDefs+","+${indexColumn.getAttributesRef().getJavaTypeName()}+" "+${indexColumn.getAttributesRef().getRefName()})
        #set($paramNames=$paramNames+", "+${indexColumn.getAttributesRef().getRefName()})
    #else
        #set($paramDefs=$paramDefs + ${indexColumn.getAttributesRef().getJavaTypeName()}+" "+${indexColumn.getAttributesRef().getRefName()})
        #set($paramNames=$paramNames + ${indexColumn.getAttributesRef().getRefName()})
    #end
* @param ${indexColumn.getAttributesRef().getRefName()} ${indexColumn.getAttributesRef().getComment()}
    #set($count=$count+1)
#end
    */
  ${javaClassRef.getClassName()} findByIndexBy${indexInfo.getCamelIndexName()} ($paramDefs);

#end


// ----      The End by Generator     ----//

}
