12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- using LeaRun.Application.Entity.CustomerManage;
- using LeaRun.Util.WebControl;
- using System.Collections.Generic;
- namespace LeaRun.Application.IService.CustomerManage
- {
- /// <summary>
- /// 版 本 6.1
- /// Copyright (c) 2013-2016 上海力软信息技术有限公司
- /// 创 建:佘赐雄
- /// 日 期:2016-03-21 16:10
- /// 描 述:跟进记录
- /// </summary>
- public interface ITrailRecordService
- {
- #region 获取数据
- /// <summary>
- /// 获取列表
- /// </summary>
- /// <param name="objectId">对象Id</param>
- /// <returns>返回列表</returns>
- IEnumerable<TrailRecordEntity> GetList(string objectId);
- /// <summary>
- /// 获取实体
- /// </summary>
- /// <param name="keyValue">主键值</param>
- /// <returns></returns>
- TrailRecordEntity GetEntity(string keyValue);
- #endregion
- #region 提交数据
- /// <summary>
- /// 删除数据
- /// </summary>
- /// <param name="keyValue">主键</param>
- void RemoveForm(string keyValue);
- /// <summary>
- /// 保存表单(新增、修改)
- /// </summary>
- /// <param name="keyValue">主键值</param>
- /// <param name="entity">实体对象</param>
- /// <returns></returns>
- void SaveForm(string keyValue, TrailRecordEntity entity);
- #endregion
- }
- }
|