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