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