CommonWordsService.java 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. package jnpf.base.service;
  2. import jnpf.base.entity.CommonWordsEntity;
  3. import jnpf.base.model.commonword.ComWordsPagination;
  4. import java.util.List;
  5. /**
  6. * 审批常用语 Service
  7. *
  8. * @author JNPF开发平台组 YanYu
  9. * @version v3.4.6
  10. * @copyrignt 引迈信息技术有限公司
  11. * @date 2023-01-06
  12. */
  13. public interface CommonWordsService extends SuperService<CommonWordsEntity> {
  14. /**
  15. * 系统常用语列表
  16. *
  17. * @param comWordsPagination 页面对象
  18. * @return 打印实体类
  19. */
  20. List<CommonWordsEntity> getSysList(ComWordsPagination comWordsPagination, Boolean currentSysFlag);
  21. /**
  22. * 个人常用语列表
  23. *
  24. * @param type 类型
  25. * @return 集合
  26. */
  27. List<CommonWordsEntity> getListModel(String type);
  28. /**
  29. * 系统是否被使用
  30. *
  31. * @param systemId 系统ID
  32. * @return 返回判断
  33. */
  34. Boolean existSystem(String systemId);
  35. /**
  36. * 常用语判重
  37. *
  38. * @param id 原id
  39. * @param commonWordsText 常用语
  40. * @return 返回判断
  41. */
  42. Boolean existCommonWord(String id, String commonWordsText, Integer commonWordsType);
  43. /**
  44. * 添加常用语次数
  45. *
  46. * @param commonWordsText 常用语
  47. * @return 返回判断
  48. */
  49. void addCommonWordsNum(String commonWordsText);
  50. }