IFlwProcessConfigureService.java 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. package com.aizuda.boot.modules.flw.service;
  2. import com.aizuda.boot.modules.flw.entity.FlwProcessConfigure;
  3. import com.aizuda.boot.modules.flw.entity.dto.FlwProcessDTO;
  4. import com.aizuda.service.service.IBaseService;
  5. import java.util.List;
  6. /**
  7. * 流程定义配置 服务类
  8. *
  9. * @author 青苗
  10. * @since 2023-09-07
  11. */
  12. public interface IFlwProcessConfigureService extends IBaseService<FlwProcessConfigure> {
  13. /**
  14. * 根据流程定义DTO对象保存配置
  15. *
  16. * @param processId 流程定义ID
  17. * @param dto 流程定义DTO
  18. * @return
  19. */
  20. boolean saveByDto(Long processId, FlwProcessDTO dto);
  21. /**
  22. * 根据流程定义ID删除流程定义配置
  23. *
  24. * @param processId 流程定义ID
  25. * @return
  26. */
  27. boolean removeByProcessId(Long processId);
  28. /**
  29. * 查询是否存在指定分类ID流程定义信息
  30. *
  31. * @param categoryIdList 流程分类ID列表
  32. * @return
  33. */
  34. boolean existByCategoryIds(List<Long> categoryIdList);
  35. /**
  36. * 根据流程定义ID流程定义配置
  37. *
  38. * @param processId 流程定义ID
  39. * @return
  40. */
  41. FlwProcessConfigure getByProcessId(Long processId);
  42. }