RelationClassForConst.cs 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using MySystem.BsModels;
  5. namespace MySystem
  6. {
  7. public class RelationClassForConst
  8. {
  9. public static string GetMerchantTypeInfo(int key)
  10. {
  11. string result = "";
  12. switch (key)
  13. {
  14. case 0:
  15. result = "非商户型合伙人";
  16. break;
  17. case 1:
  18. result = "商户型合伙人";
  19. break;
  20. }
  21. return result;
  22. }
  23. public static string GetChangeTypeInfo(int key)
  24. {
  25. string result = "";
  26. switch (key)
  27. {
  28. case 0:
  29. result = "激活奖励";
  30. break;
  31. case 1:
  32. result = "交易分润";
  33. break;
  34. case 11:
  35. result = "月月红";
  36. break;
  37. case 12:
  38. result = "交易奖励";
  39. break;
  40. case 2:
  41. result = "提现申请";
  42. break;
  43. case 3:
  44. result = "提现代付";
  45. break;
  46. case 4:
  47. result = "提现手续费";
  48. break;
  49. case 5:
  50. result = "提现税点扣除";
  51. break;
  52. case 6:
  53. result = "提现失败,解冻";
  54. break;
  55. case 61:
  56. result = "系统冻结";
  57. break;
  58. case 62:
  59. result = "系统解冻";
  60. break;
  61. case 63:
  62. result = "系统扣减";
  63. break;
  64. case 64:
  65. result = "系统奖励";
  66. break;
  67. case 7:
  68. result = "系统扣除";
  69. break;
  70. case 10:
  71. result = "办卡奖励";
  72. break;
  73. case 20:
  74. result = "余额支付";
  75. break;
  76. case 21:
  77. result = "余额退款";
  78. break;
  79. case 22:
  80. result = "余额退款手续费";
  81. break;
  82. case 30:
  83. result = "红包奖励";
  84. break;
  85. case 31:
  86. result = "活动奖励";
  87. break;
  88. case 40:
  89. result = "商户达标返";
  90. break;
  91. case 50:
  92. result = "开机奖励";
  93. break;
  94. case 60:
  95. result = "流量卡分佣";
  96. break;
  97. case 111:
  98. result = "分润补贴";
  99. break;
  100. case 112:
  101. result = "推荐奖励";
  102. break;
  103. case 113:
  104. result = "招商节奖励";
  105. break;
  106. case 114:
  107. result = "私董会分红";
  108. break;
  109. case 115:
  110. result = "分仓奖励";
  111. break;
  112. }
  113. return result;
  114. }
  115. public static string GetTradeTypeInfo(int key)
  116. {
  117. string result = "";
  118. switch (key)
  119. {
  120. case 1:
  121. result = "消费代付";
  122. break;
  123. case 2:
  124. result = "用户提现";
  125. break;
  126. }
  127. return result;
  128. }
  129. public static string GetBizTypeInfo(int key)
  130. {
  131. string result = "";
  132. switch (key)
  133. {
  134. case 30:
  135. result = "红包奖励";
  136. break;
  137. case 31:
  138. result = "活动奖励";
  139. break;
  140. case 7:
  141. result = "系统扣减";
  142. break;
  143. }
  144. return result;
  145. }
  146. }
  147. }