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

3 years ago
  1. package ${package.Service};
  2. import ${package.Entity}.${entity};
  3. import ${package.Dto}.${dto};
  4. import ${superServiceClassPackage};
  5. import java.io.Serializable;
  6. import com.iteaj.framework.result.*;
  7. import com.baomidou.mybatisplus.core.metadata.IPage;
  8. /**
  9. * <p>
  10. * $!{table.comment} 服务类
  11. * </p>
  12. *
  13. * @author ${author}
  14. * @since ${date}
  15. */
  16. #if(${kotlin})
  17. interface ${table.serviceName} : ${superServiceClass}<${entity}>
  18. #else
  19. public interface ${table.serviceName} extends ${superServiceClass}<${entity}> {
  20. /**
  21. * 获取指定的记录详情
  22. */
  23. DetailResult<${dto}> detailById(Serializable id);
  24. /**
  25. * 获取详情分页记录
  26. */
  27. PageResult<IPage<${dto}>> detailPage(IPage<${dto}> page, ${dto} entity);
  28. }
  29. #end