IAdmDictService.java 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. package com.persagy.proxy.adm.service;
  2. import com.persagy.proxy.adm.model.AdmDefFuncIdGather;
  3. import com.persagy.proxy.adm.model.AdmDict;
  4. import com.persagy.proxy.adm.model.AdmDictQueryCriteria;
  5. import com.persagy.proxy.adm.request.AdmCreateRequest;
  6. import com.persagy.proxy.adm.request.AdmResponse;
  7. import com.persagy.proxy.common.entity.InstanceUrlParam;
  8. import java.util.List;
  9. /**
  10. * @ClassName IAdmDictService
  11. * @Description: 字典查询
  12. * @Author linhuili
  13. * @Date 2021/8/31 14:30
  14. * @Version V1.0
  15. **/
  16. public interface IAdmDictService<T> extends IAdmDictBaseService<T>{
  17. /**
  18. * 查询字典分类
  19. * @param context
  20. * @param request
  21. * @param clazz
  22. * @return
  23. * @throws Exception
  24. */
  25. AdmResponse queryCategory(InstanceUrlParam context , AdmDict request, Class<T> clazz);
  26. /**
  27. * 重置项目下的定制信息点
  28. * @param context
  29. * @param clazz
  30. * @return
  31. * @throws Exception
  32. */
  33. AdmResponse resetDic(InstanceUrlParam context , AdmDictQueryCriteria request ,String fieldName, Class<T> clazz) throws Exception;
  34. /**
  35. * 设置-项目定制化字典
  36. * @param context
  37. * @param request
  38. * @return
  39. * @throws Exception
  40. */
  41. AdmResponse settingDicProject(InstanceUrlParam context , AdmCreateRequest<AdmDefFuncIdGather> request, Class<T> clazz) throws Exception;
  42. /**
  43. * 查询所有字典信息 M 和 L 类型,包括自定义信息点
  44. * @param context
  45. * @param dictTypeList
  46. * @return
  47. */
  48. AdmResponse queryMorlDict(InstanceUrlParam context,List<String> dictTypeList);
  49. /**
  50. * 查询信息点
  51. * @param context
  52. * @param request
  53. * @param fieldName
  54. * @param clazz
  55. * @return
  56. */
  57. AdmResponse query(InstanceUrlParam context, AdmDictQueryCriteria request,String fieldName, Class<T> clazz);
  58. }