qa-prevention-gwj/src/main/java/com/zcloud/service/system/DictionariesService.java

155 lines
3.6 KiB
Java
Raw Normal View History

2023-11-07 09:32:12 +08:00
package com.zcloud.service.system;
import java.util.List;
import java.util.Map;
import com.zcloud.entity.Page;
import com.zcloud.entity.PageData;
import com.zcloud.entity.system.Dictionaries;
/**
*
* luoxiaobao
* www.qdkjchina.com
*/
public interface DictionariesService {
/**
* ()
* @param MENU_ID
* @return
* @throws Exception
*/
public List<Dictionaries> listAllDict(String parentId) throws Exception;
/**
* @param page
* @throws Exception
*/
public List<PageData> list(Page page)throws Exception;
/**id
* @param pd
* @throws Exception
*/
public PageData findById(PageData pd)throws Exception;
2023-11-14 10:16:26 +08:00
public List<PageData> getTreeById(String id) throws Exception;
2023-11-07 09:32:12 +08:00
/**id
* @param pd
* @throws Exception
*/
public PageData findByName(PageData pd)throws Exception;
/**
* @param pd
* @throws Exception
*/
public PageData findByBianma(PageData pd)throws Exception;
/**
* @param pd
* @throws Exception
*/
public void save(PageData pd)throws Exception;
/**
* @param pd
* @throws Exception
*/
public void edit(PageData pd)throws Exception;
/**
* ID
* @param parentId
* @return
* @throws Exception
*/
public List<Dictionaries> listSubDictByParentId(String parentId) throws Exception;
/**
* ID()
* @param pd
* @return
* @throws Exception
*/
List<Dictionaries> listSubDictByParentIdAndCourseware(PageData pd) throws Exception;
/**
* ()
* @param parentId
* @return
* @throws Exception
*/
public List<Dictionaries> listAllDictToCreateCode(String parentId) throws Exception;
public List<PageData> listAllDictToSelect(String parentId,List<PageData> zdicPdList) throws Exception ;
/**
* @param pd
* @throws Exception
*/
public PageData findFromTbs(PageData pd)throws Exception;
/**
* @param pd
* @throws Exception
*/
public void delete(PageData pd)throws Exception;
/**
* IDS
* @param dictionariesIds
* @return
* @throws Exception
*/
public List<Dictionaries> listSubDictByIds(String[] dictionariesIds) throws Exception;
/**
*
* @param parentId
* @return
* @throws Exception
*/
List<Dictionaries> listSecondLevelDictByParentId(String parentId) throws Exception;
/**
* id
* @param parentId
* @return
* @throws Exception
*/
public List<PageData> listSubDictByParentIdAndSunCount(String parentId) throws Exception;
/**
* @param pd
* @throws Exception
*/
public List<PageData> getTreeFromBelow(List<PageData> nextList,PageData pd)throws Exception;
/**
*
* @param parentId
* @return
* @throws Exception
*/
public List<PageData> getIdsByRecuByParentId(String parentId) throws Exception;
/**
* parentID,map
* @param parentId
* @return
* @throws Exception
*/
Map<String,Dictionaries> getMapByParId (String parentId) throws Exception;
/**
* gids
* ,,
*
* @param parentIds
* @return
* @throws Exception
*/
public List<PageData> getIdsByParentIds(List<String> parentIds) throws Exception;
2023-11-07 09:32:12 +08:00
}