SalesOrderService.java 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. package jnpf.service;
  2. import jnpf.base.service.SuperService;
  3. import jnpf.entity.SalesOrderEntity;
  4. import jnpf.entity.SalesOrderEntryEntity;
  5. import jnpf.exception.WorkFlowException;
  6. import jnpf.model.salesorder.SalesOrderForm;
  7. import java.util.List;
  8. /**
  9. * 销售订单
  10. *
  11. * @author JNPF开发平台组
  12. * @version V3.1.0
  13. * @copyright 引迈信息技术有限公司
  14. * @date 2019年9月29日 上午9:18
  15. */
  16. public interface SalesOrderService extends SuperService<SalesOrderEntity> {
  17. /**
  18. * 列表
  19. *
  20. * @param id 主键值
  21. * @return
  22. */
  23. List<SalesOrderEntryEntity> getSalesEntryList(String id);
  24. /**
  25. * 信息
  26. *
  27. * @param id 主键值
  28. * @return
  29. */
  30. SalesOrderEntity getInfo(String id);
  31. /**
  32. * 保存
  33. *
  34. * @param id 主键值
  35. * @param entity 实体对象
  36. * @param salesOrderEntryEntityList 子表
  37. * @throws WorkFlowException 异常
  38. */
  39. void save(String id, SalesOrderEntity entity, List<SalesOrderEntryEntity> salesOrderEntryEntityList, SalesOrderForm form);
  40. /**
  41. * 提交
  42. *
  43. * @param id 主键值
  44. * @param entity 实体对象
  45. * @param salesOrderEntryEntityList 子表
  46. * @throws WorkFlowException 异常
  47. */
  48. void submit(String id, SalesOrderEntity entity, List<SalesOrderEntryEntity> salesOrderEntryEntityList, SalesOrderForm form);
  49. /**
  50. * 更改数据
  51. *
  52. * @param id 主键值
  53. * @param data 实体对象
  54. */
  55. void data(String id, String data);
  56. /**
  57. * 删除
  58. *
  59. * @param entity 实体
  60. */
  61. void delete(SalesOrderEntity entity);
  62. }