You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CrmOrderIBLL.cs 1.8 KiB

4 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. using Learun.Util;
  2. using System.Collections.Generic;
  3. namespace Learun.Application.CRM
  4. {
  5. /// <summary>
  6. /// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园
  7. /// Copyright (c) 2013-2018 北京泉江科技有限公司
  8. /// 创建人:陈彬彬
  9. /// 日 期:2017.03.09
  10. /// 描 述:订单管理
  11. /// </summary>
  12. public interface CrmOrderIBLL
  13. {
  14. #region 获取数据
  15. /// <summary>
  16. /// 订单列表
  17. /// </summary>
  18. /// <returns></returns>
  19. IEnumerable<CrmOrderEntity> GetPageList(Pagination pagination, string queryJson, string custmerQuerySql);
  20. /// <summary>
  21. /// 获取订单信息主键
  22. /// </summary>
  23. /// <param name="keyValue">主键</param>
  24. /// <returns></returns>
  25. CrmOrderEntity GetCrmOrderEntity(string keyValue);
  26. /// <summary>
  27. /// 获取订单产品明细数据
  28. /// </summary>
  29. /// <param name="orderId">订单主键</param>
  30. /// <returns></returns>
  31. IEnumerable<CrmOrderProductEntity> GetCrmOrderProductEntity(string orderId);
  32. #endregion
  33. #region 提交数据
  34. /// <summary>
  35. /// 删除数据
  36. /// </summary>
  37. /// <param name="keyValue">主键</param>
  38. void DeleteEntity(string keyValue);
  39. /// <summary>
  40. /// 保存表单(新增、修改)
  41. /// </summary>
  42. /// <param name="keyValue">主键值</param>
  43. /// <param name="crmOrderEntity">实体对象</param>
  44. /// <param name="CrmOrderProductEntity">明细实体对象</param>
  45. /// <returns></returns>
  46. void SaveEntity(string keyValue, CrmOrderEntity crmOrderEntity, List<CrmOrderProductEntity> crmOrderProductList);
  47. #endregion
  48. }
  49. }