|
|
@@ -2199,7 +2199,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
opData.Add(oldpos.BuyUserId + ":" + oldpos.BrandId);
|
|
|
}
|
|
|
|
|
|
- var BeforeDeposit = 0;
|
|
|
+ decimal BeforeDeposit = 0;
|
|
|
if (string.IsNullOrEmpty(oldpos.PrizeParams))
|
|
|
{
|
|
|
BeforeDeposit = 299;
|
|
|
@@ -2207,7 +2207,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- BeforeDeposit = int.Parse(oldpos.PrizeParams);
|
|
|
+ BeforeDeposit = decimal.Parse(function.CheckNum(oldpos.PrizeParams));
|
|
|
}
|
|
|
|
|
|
oldpos.StoreId = storeBack.Id;
|
|
|
@@ -2475,7 +2475,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- var BeforeDeposit = 0;
|
|
|
+ decimal BeforeDeposit = 0;
|
|
|
if (string.IsNullOrEmpty(oldpos.PrizeParams))
|
|
|
{
|
|
|
BeforeDeposit = 299;
|
|
|
@@ -2483,7 +2483,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- BeforeDeposit = int.Parse(oldpos.PrizeParams);
|
|
|
+ BeforeDeposit = decimal.Parse(function.CheckNum(oldpos.PrizeParams));
|
|
|
}
|
|
|
|
|
|
oldpos.StoreId = storeBack.Id;
|
|
|
@@ -4985,7 +4985,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
opData.Add(oldpos.BuyUserId + ":" + oldpos.BrandId);
|
|
|
}
|
|
|
|
|
|
- var BeforeDeposit = 0;
|
|
|
+ decimal BeforeDeposit = 0;
|
|
|
if (string.IsNullOrEmpty(oldpos.PrizeParams))
|
|
|
{
|
|
|
BeforeDeposit = 299;
|
|
|
@@ -4993,7 +4993,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- BeforeDeposit = int.Parse(oldpos.PrizeParams);
|
|
|
+ BeforeDeposit = decimal.Parse(function.CheckNum(oldpos.PrizeParams));
|
|
|
}
|
|
|
|
|
|
oldpos.Status = 1;
|
|
|
@@ -5409,7 +5409,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
opData.Add(pos.BuyUserId + ":" + pos.BrandId);
|
|
|
}
|
|
|
|
|
|
- var BeforeDeposit = 0;
|
|
|
+ decimal BeforeDeposit = 0;
|
|
|
if (string.IsNullOrEmpty(pos.PrizeParams))
|
|
|
{
|
|
|
BeforeDeposit = 299;
|
|
|
@@ -5417,7 +5417,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- BeforeDeposit = int.Parse(pos.PrizeParams);
|
|
|
+ BeforeDeposit = decimal.Parse(function.CheckNum(pos.PrizeParams));
|
|
|
}
|
|
|
|
|
|
pos.StoreId = BackStore.Id;//变更机具所属仓库,重置为仓库机
|