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.
33 lines
752 B
33 lines
752 B
package ${package.Service};
|
|
|
|
import ${package.Entity}.${entity};
|
|
import ${package.Dto}.${dto};
|
|
import ${superServiceClassPackage};
|
|
import java.io.Serializable;
|
|
import com.iteaj.framework.result.*;
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
|
/**
|
|
* <p>
|
|
* $!{table.comment} 服务类
|
|
* </p>
|
|
*
|
|
* @author ${author}
|
|
* @since ${date}
|
|
*/
|
|
#if(${kotlin})
|
|
interface ${table.serviceName} : ${superServiceClass}<${entity}>
|
|
#else
|
|
public interface ${table.serviceName} extends ${superServiceClass}<${entity}> {
|
|
|
|
/**
|
|
* 获取指定的记录详情
|
|
*/
|
|
DetailResult<${dto}> detailById(Serializable id);
|
|
|
|
/**
|
|
* 获取详情分页记录
|
|
*/
|
|
PageResult<IPage<${dto}>> detailPage(IPage<${dto}> page, ${dto} entity);
|
|
}
|
|
#end
|