39 lines
718 B
Plaintext
39 lines
718 B
Plaintext
package ${package.Service};
|
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
import ${package.Entity}.${entity};
|
|
import ${superServiceClassPackage};
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* <p>
|
|
* $!{table.comment} 服务类
|
|
* </p>
|
|
*
|
|
* @author ${author}
|
|
* @since ${date}
|
|
*/
|
|
#if(${kotlin})
|
|
interface ${table.serviceName} : ${superServiceClass}<${entity}>
|
|
#else
|
|
public interface ${table.serviceName} extends ${superServiceClass}<${entity}> {
|
|
|
|
/**
|
|
* 条件查询
|
|
* @param example
|
|
* @return
|
|
*/
|
|
List<${entity}> list(${entity} example);
|
|
|
|
/**
|
|
* 分页查询
|
|
* @param example
|
|
* @param page
|
|
* @return
|
|
*/
|
|
IPage<${entity}> page(${entity} example,IPage page);
|
|
|
|
}
|
|
#end
|