ITrailRecordService.cs 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. using LeaRun.Application.Entity.CustomerManage;
  2. using LeaRun.Util.WebControl;
  3. using System.Collections.Generic;
  4. namespace LeaRun.Application.IService.CustomerManage
  5. {
  6. /// <summary>
  7. /// 版 本 6.1
  8. /// Copyright (c) 2013-2016 上海力软信息技术有限公司
  9. /// 创 建:佘赐雄
  10. /// 日 期:2016-03-21 16:10
  11. /// 描 述:跟进记录
  12. /// </summary>
  13. public interface ITrailRecordService
  14. {
  15. #region 获取数据
  16. /// <summary>
  17. /// 获取列表
  18. /// </summary>
  19. /// <param name="objectId">对象Id</param>
  20. /// <returns>返回列表</returns>
  21. IEnumerable<TrailRecordEntity> GetList(string objectId);
  22. /// <summary>
  23. /// 获取实体
  24. /// </summary>
  25. /// <param name="keyValue">主键值</param>
  26. /// <returns></returns>
  27. TrailRecordEntity GetEntity(string keyValue);
  28. #endregion
  29. #region 提交数据
  30. /// <summary>
  31. /// 删除数据
  32. /// </summary>
  33. /// <param name="keyValue">主键</param>
  34. void RemoveForm(string keyValue);
  35. /// <summary>
  36. /// 保存表单(新增、修改)
  37. /// </summary>
  38. /// <param name="keyValue">主键值</param>
  39. /// <param name="entity">实体对象</param>
  40. /// <returns></returns>
  41. void SaveForm(string keyValue, TrailRecordEntity entity);
  42. #endregion
  43. }
  44. }