private static TradeRoyaltyDTO getTradeRoyaltyView(string account, decimal amount, string note, Distribution.Domain.Role.TradeRoleType role) { return(new TradeRoyaltyDTO { RoyaltyAccountNo = account, RoyaltyAmount = Math.Abs(amount), Note = note, ExtendParameter = role.ToString() }); }
private static string conbineRoyaltyInfo(string account, decimal amount, string note, Distribution.Domain.Role.TradeRoleType role) { return(string.Format("{0}|{1}|{2}|{3}", account, amount, note, role.ToString())); }