LeaveApplyService.java 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. package jnpf.service;
  2. import jnpf.base.service.SuperService;
  3. import jnpf.entity.LeaveApplyEntity;
  4. import jnpf.exception.WorkFlowException;
  5. import jnpf.model.leaveapply.LeaveApplyForm;
  6. /**
  7. * 流程表单【请假申请】
  8. *
  9. * @author JNPF开发平台组
  10. * @version V3.1.0
  11. * @copyright 引迈信息技术有限公司
  12. * @date 2019年9月29日 上午9:18
  13. */
  14. public interface LeaveApplyService extends SuperService<LeaveApplyEntity> {
  15. /**
  16. * 信息
  17. *
  18. * @param id 主键值
  19. * @return
  20. */
  21. LeaveApplyEntity getInfo(String id);
  22. /**
  23. * 保存
  24. *
  25. * @param id 主键值
  26. * @param entity 实体对象
  27. * @throws WorkFlowException 异常
  28. */
  29. void save(String id, LeaveApplyEntity entity, LeaveApplyForm form);
  30. /**
  31. * 提交
  32. *
  33. * @param id 主键值
  34. * @param entity 实体对象
  35. * @throws WorkFlowException 异常
  36. */
  37. void submit(String id, LeaveApplyEntity entity, LeaveApplyForm form);
  38. /**
  39. * 更改数据
  40. *
  41. * @param id 主键值
  42. * @param data 实体对象
  43. */
  44. void data(String id, String data);
  45. /**
  46. * 删除
  47. *
  48. * @param entity 实体
  49. */
  50. void delete(LeaveApplyEntity entity);
  51. }