You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
683 B
32 lines
683 B
package ${package.Mapper};
|
|
|
|
import ${package.Entity}.${entity};
|
|
import ${package.Dto}.${dto};
|
|
import ${superMapperClassPackage};
|
|
import java.io.Serializable;
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
|
/**
|
|
* <p>
|
|
* $!{table.comment} Mapper 接口
|
|
* </p>
|
|
*
|
|
* @author ${author}
|
|
* @since ${date}
|
|
*/
|
|
#if(${kotlin})
|
|
interface ${table.mapperName} : ${superMapperClass}<${entity}>
|
|
#else
|
|
public interface ${table.mapperName} extends ${superMapperClass}<${entity}> {
|
|
|
|
/**
|
|
* 获取指定的记录详情
|
|
*/
|
|
${dto} detailById(Serializable id);
|
|
|
|
/**
|
|
* 获取详情分页记录
|
|
*/
|
|
IPage<${dto}> detailPage(IPage<${dto}> page, ${dto} entity);
|
|
}
|
|
#end
|