/// <summary>
        /// 更新数据
        /// </summary>
        /// <param name="model">会员分销商申请实体</param>
        /// <remarks> 2016-04-12 刘伟豪 创建 </remarks>
        public override bool Update(CrDealerApply model)
        {
            int effect = Context.Update <CrDealerApply>("CrDealerApply", model)
                         .AutoMap(x => x.SysNo)
                         .Where("sysno", model.SysNo)
                         .Execute();

            return(effect > 0);
        }
Beispiel #2
0
 /// <summary>
 /// 更新数据
 /// </summary>
 /// <param name="model">会员分销商申请实体</param>
 /// <remarks> 2016-04-12 刘伟豪 创建 </remarks>
 public bool Update(CrDealerApply model)
 {
     return(ICrDealerApplyDao.Instance.Update(model));
 }
Beispiel #3
0
 /// <summary>
 /// 更新数据
 /// </summary>
 /// <param name="model">会员分销商申请实体</param>
 /// <remarks> 2016-04-12 刘伟豪 创建 </remarks>
 public abstract bool Update(CrDealerApply model);
Beispiel #4
0
 /// <summary>
 /// 新增数据
 /// </summary>
 /// <param name="model">会员分销商申请实体</param>
 /// <remarks> 2016-04-12 刘伟豪 创建 </remarks>
 public int Insert(CrDealerApply model)
 {
     return(ICrDealerApplyDao.Instance.Insert(model));
 }
Beispiel #5
0
 /// <summary>
 /// 新增数据
 /// </summary>
 /// <param name="model">会员分销商申请实体</param>
 /// <remarks> 2016-04-12 刘伟豪 创建 </remarks>
 public abstract int Insert(CrDealerApply model);