|
|
@@ -289,12 +289,12 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
dic["PrizeParams"] = PrizeParams;
|
|
|
}
|
|
|
Dictionary<string, object> other = new Dictionary<string, object>();
|
|
|
- decimal ReturnAmounts = 0.00M;
|
|
|
- decimal ReturnAmount = 0.00M;
|
|
|
+ decimal ReturnAmount = 0.00M;//服务费总金额
|
|
|
+ decimal ReturnAmounts = 0.00M;//退还总金额
|
|
|
DataTable dt = OtherMySqlConn.dtable("SELECT SUM(Remark) FROM PosMerchantInfo WHERE 1=1" + condition);
|
|
|
if (dt.Rows.Count > 0)
|
|
|
{
|
|
|
- ReturnAmount = decimal.Parse(function.CheckNum(dt.Rows[0][0].ToString()));
|
|
|
+ ReturnAmounts = decimal.Parse(function.CheckNum(dt.Rows[0][0].ToString()));
|
|
|
}
|
|
|
DataTable dts = OtherMySqlConn.dtable("SELECT KqSnNo FROM PosMerchantInfo WHERE 1=1" + condition);
|
|
|
if (dt.Rows.Count > 0)
|
|
|
@@ -307,11 +307,11 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
{
|
|
|
if (pos.BrandId != 2 && pos.BrandId != 7)
|
|
|
{
|
|
|
- ReturnAmounts += decimal.Parse(pos.SeoKeyword) / 100;
|
|
|
+ ReturnAmount += decimal.Parse(pos.SeoKeyword) / 100;
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- ReturnAmounts += decimal.Parse(pos.SeoKeyword);
|
|
|
+ ReturnAmount += decimal.Parse(pos.SeoKeyword);
|
|
|
}
|
|
|
}
|
|
|
}
|