/// <summary>
/// 积分评级体系
/// </summary>
/// <param name="Id">积分</param>
/// <returns></returns>
public int Level(int Id)
{
#region
int level = 1;
if (Id < 200) level = 1;
if (Id >= 200) level = 2;
if (Id >= 300) level = 3;
if (Id >= 400) level = 4;
if (Id >= 500) level = 5;
if (Id >= 1000) level = 6;
if (Id >= 1500) level = 7;
if (Id >= 2000) level = 8;
if (Id >= 2500) level = 9;
if (Id >= 3000) level = 10;
if (Id >= 4000) level = 11;
if (Id >= 5000) level = 12;
if (Id >= 6000) level = 13;
if (Id >= 7000) level = 14;
if (Id >= 8000) level = 15;
if (Id >= 9000) level = 16;
if (Id >= 10000) level = 17;
if (Id >= 15000) level = 18;
if (Id >= 20000) level = 19;
return level;
#endregion
}
Q友评论Q友评论仅代表用户个人观点,不代表Q医疗立场