|
@@ -63,7 +63,7 @@ namespace MySystem
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- BeforeDeposit = int.Parse(pos.PrizeParams);
|
|
|
+ BeforeDeposit = (int)decimal.Parse(pos.PrizeParams);
|
|
|
}
|
|
|
decimal amount = decimal.Parse(DepositId);
|
|
|
pos.PrizeParams = amount.ToString("f0");
|
|
@@ -115,7 +115,7 @@ namespace MySystem
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- BeforeDeposit = int.Parse(pos.PrizeParams);
|
|
|
+ BeforeDeposit = (int)decimal.Parse(pos.PrizeParams);
|
|
|
}
|
|
|
decimal amount = decimal.Parse(PublicImportDataService.Instance.GetDepositAmount(DepositId));
|
|
|
pos.PrizeParams = amount.ToString("f0");
|
|
@@ -193,7 +193,7 @@ namespace MySystem
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- BeforeDeposit = int.Parse(pos.PrizeParams);
|
|
|
+ BeforeDeposit = (int)decimal.Parse(pos.PrizeParams);
|
|
|
}
|
|
|
decimal amount = decimal.Parse(DepositId);
|
|
|
if (pos.BrandId == 4 || pos.BrandId == 5)
|
|
@@ -259,7 +259,7 @@ namespace MySystem
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- BeforeDeposit = int.Parse(pos.PrizeParams);
|
|
|
+ BeforeDeposit = (int)decimal.Parse(pos.PrizeParams);
|
|
|
}
|
|
|
pos.PrizeParams = DepositId;
|
|
|
db.SaveChanges();
|
|
@@ -321,7 +321,7 @@ namespace MySystem
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- BeforeDeposit = int.Parse(pos.PrizeParams);
|
|
|
+ BeforeDeposit = (int)decimal.Parse(pos.PrizeParams);
|
|
|
}
|
|
|
pos.PrizeParams = DepositId.Replace("2024POS", "");
|
|
|
db.SaveChanges();
|
|
@@ -398,7 +398,7 @@ namespace MySystem
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- BeforeDeposit = int.Parse(pos.PrizeParams);
|
|
|
+ BeforeDeposit = (int)decimal.Parse(pos.PrizeParams);
|
|
|
}
|
|
|
if (pos.BrandId == 8 || pos.BrandId == 9)
|
|
|
{
|
|
@@ -455,7 +455,7 @@ namespace MySystem
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- BeforeDeposit = int.Parse(pos.PrizeParams);
|
|
|
+ BeforeDeposit = (int)decimal.Parse(pos.PrizeParams);
|
|
|
}
|
|
|
decimal amount = decimal.Parse(DepositId);
|
|
|
pos.PrizeParams = amount.ToString("f0");
|
|
@@ -512,7 +512,7 @@ namespace MySystem
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- BeforeDeposit = int.Parse(pos.PrizeParams);
|
|
|
+ BeforeDeposit = (int)decimal.Parse(pos.PrizeParams);
|
|
|
}
|
|
|
decimal amount = decimal.Parse(DepositId);
|
|
|
pos.PrizeParams = amount.ToString("f0");
|
|
@@ -592,7 +592,7 @@ namespace MySystem
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- BeforeDeposit = int.Parse(pos.PrizeParams);
|
|
|
+ BeforeDeposit = (int)decimal.Parse(pos.PrizeParams);
|
|
|
}
|
|
|
decimal amount = decimal.Parse(DepositId);
|
|
|
pos.PrizeParams = amount.ToString("f0");
|