예제 #1
0
 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()
     });
 }
예제 #2
0
 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()));
 }