3c7cb3bf35366421245aa80638d6414c569defc8.svn-base 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. package ${bussiPackage}.${entityPackage}.service;
  2. import ${bussiPackage}.${entityPackage}.entity.${entityName};
  3. import com.baomidou.mybatisplus.extension.service.IService;
  4. import org.jeecg.common.exception.JeecgBootException;
  5. import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
  6. import java.util.List;
  7. /**
  8. * @Description: ${tableVo.ftlDescription}
  9. * @Author: jeecg-boot
  10. * @Date: ${.now?string["yyyy-MM-dd"]}
  11. * @Version: V1.0
  12. */
  13. public interface I${entityName}Service extends IService<${entityName}> {
  14. /**根节点父ID的值*/
  15. public static final String ROOT_PID_VALUE = "0";
  16. /**树节点有子节点状态值*/
  17. public static final String HASCHILD = "1";
  18. /**树节点无子节点状态值*/
  19. public static final String NOCHILD = "0";
  20. /**新增节点*/
  21. void add${entityName}(${entityName} ${entityName?uncap_first});
  22. /**修改节点*/
  23. void update${entityName}(${entityName} ${entityName?uncap_first}) throws JeecgBootException;
  24. /**删除节点*/
  25. void delete${entityName}(String id) throws JeecgBootException;
  26. /**查询所有数据,无分页*/
  27. List<${entityName}> queryTreeListNoPage(QueryWrapper<${entityName}> queryWrapper);
  28. }