integrated_traffic/src/main/java/com/zcloud/service/system/RouteService.java

87 lines
1.8 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.zcloud.service.system;
import com.zcloud.entity.PageData;
import com.zcloud.entity.system.Route;
import java.util.List;
/**
* 说明:路由服务接口
* 作者luoxiaobao
* 官网www.qdkjchina.com
*/
public interface RouteService {
/**新增路由
* @param pd
* @throws Exception
*/
public void add(PageData pd) throws Exception;
/**保存修改路由
* @param pd
* @throws Exception
*/
public void edit(PageData pd) throws Exception;
/**获取最大的路由ID
* @param pd
* @return
* @throws Exception
*/
public PageData findMaxId(PageData pd) throws Exception;
/**通过ID获取其子一级路由
* @param parentId
* @return
* @throws Exception
*/
public List<Route> listSubRouteByParentId(String parentId)throws Exception;
/**通过ID获取其子一级路由
* @param parentId
* @return
* @throws Exception
*/
public List<PageData> listRouteByParentId(String parentId)throws Exception;
/**获取所有路由并填充每个路由的子路由列表(系统路由列表)
* @param pd
* @return
* @throws Exception
*/
public PageData findById(PageData pd) throws Exception;
/**删除路由
* @param ROUTE_ID
* @throws Exception
*/
public void delete(String ROUTE_ID) throws Exception;
/**保存路由图标
* @param pd
* @throws Exception
*/
public void editicon(PageData pd) throws Exception;
/**获取所有路由
* @param pd
* @return
*/
List<PageData> treeAll(PageData pd) throws Exception;
/**获取所有路由(集合)
* @param pd
* @return
*/
List<PageData> listAll(PageData pd) throws Exception;
/**获取所有菜单并填充每个菜单的子菜单列表(系统菜单列表)
* @param MENU_ID
* @return
* @throws Exception
*/
List<Route> listAllMenuJur(String MENU_ID) throws Exception;
}