public static bool UpdateCommission(int UserId, decimal Commission, string CommRemark) { DistributorGradeCommissionInfo distributorGradeCommissionInfo = new DistributorGradeCommissionInfo() { UserId = UserId, Commission = Commission, PubTime = DateTime.Now, OperAdmin = "system", Memo = CommRemark, OldCommissionTotal = new decimal(0), ReferralUserId = UserId, OrderID = string.Concat("A", VShopHelper.GenerateOrderId()), CommType = 5 }; return((new DistributorsDao()).AddCommission(distributorGradeCommissionInfo)); }