Exemple #1
0
 /// <summary>
 /// 分销商状态更新
 /// </summary>
 /// <param name="sysNo">分销商系统编号</param>
 /// <param name="status">分销商状态</param>
 /// <returns>受影响的行数</returns>
 /// <remarks>
 /// 2013-09-04 郑荣华 创建
 /// </remarks>
 public abstract int UpdateStatus(int sysNo, DistributionStatus.分销商App状态 status);
 /// <summary>
 /// 分销商App状态更新
 /// </summary>
 /// <param name="sysNo">分销商App系统编号</param>
 /// <param name="status">分销商App状态</param>
 /// <returns>受影响的行数</returns>
 /// <remarks>
 /// 2014-05-06 余勇 创建
 /// </remarks>
 public override int UpdateStatus(int sysNo, DistributionStatus.分销商App状态 status)
 {
     return(Context.Sql("update DsDealerApp set status=@0 where sysno=@1", (int)status, sysNo)
            .Execute());
 }