crud.mapper.vm Maven / Gradle / Ivy
The newest version!
package ${package.Mapper};
import ${package.Entity}.${entity};
import ${superMapperClassPackage};
#if(${mapperAnnotationClass})
import ${mapperAnnotationClass.name};
#end
import java.util.List;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import ${basePackage}.${DTOPackage}.${entity}SelectDTO;
import ${basePackage}.${VOPackage}.${entity}VO;
/**
* $!{table.comment} Mapper 接口
*
* @author ${author}
* @since ${date}
*/
#if(${mapperAnnotationClass})
@${mapperAnnotationClass.simpleName}
#end
#if(${kotlin})
interface ${table.mapperName} : ${superMapperClass}<${entity}>
#else
public interface ${table.mapperName} extends ${superMapperClass}<${entity}> {
List<${entity}VO> listByMap(@Param("map") ${entity}SelectDTO map, IPage<${entity}VO> page);
}
#end