All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates1.Dao.tmpl Maven / Gradle / Ivy

Go to download

Assist in generating CRUD code, without limitation on the specific language, as long as you can write velocity templates.

There is a newer version: 1.0.8
Show newest version
package ${packagePrefix}.dao;

import java.util.Map;
import java.util.List;
import java.util.Collection;
import ${packagePrefix}.entity.${className};
import com.kbao.core.common.web.dao.sql.BaseMapper;
#if($pkResult.size()>1)
import ${packagePrefix}.domain.${className}.PK;
#end

 /**
 *
 * @ClassName ${className}Mapper
 * @Description
 * @author ${author}
 * @version V1.0
 * @since V1.0
 * @date ${date}
 *
 */

public interface ${className}Mapper extends BaseMapper<${className} ,
#if($pkResult.size()>1)
 ${className}.PK
#else
 ${keyType}
#end   > {

    public List<${className}> list( Map queryParam );

    public int batchDelete(List userIds);

}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy