|
|
@@ -266,8 +266,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
string SeoKeyword = "0";
|
|
|
if (!string.IsNullOrEmpty(pos.SeoKeyword))
|
|
|
{
|
|
|
- // SeoKeyword = pos.SeoKeyword.Replace(".00","");
|
|
|
- if (pos.SeoKeyword.Replace(".00","").Length > 3)
|
|
|
+ if (pos.BrandId != 2 && pos.BrandId != 7)
|
|
|
{
|
|
|
SeoKeyword = (decimal.Parse(pos.SeoKeyword) / 100).ToString();
|
|
|
}
|
|
|
@@ -303,7 +302,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
var pos = db.PosMachinesTwo.FirstOrDefault(m => m.PosSn == KqSnNo) ?? new PosMachinesTwo();
|
|
|
if (!string.IsNullOrEmpty(pos.SeoKeyword))
|
|
|
{
|
|
|
- if (pos.SeoKeyword.Length > 3)
|
|
|
+ if (pos.BrandId != 2 && pos.BrandId != 7)
|
|
|
{
|
|
|
ReturnAmounts += decimal.Parse(pos.SeoKeyword) / 100;
|
|
|
}
|
|
|
@@ -423,7 +422,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
string SeoKeyword = "0";
|
|
|
if (!string.IsNullOrEmpty(pos.SeoKeyword))
|
|
|
{
|
|
|
- if (pos.SeoKeyword.ToString().Length > 3)
|
|
|
+ if (pos.BrandId != 2 && pos.BrandId != 7)
|
|
|
{
|
|
|
SeoKeyword = (decimal.Parse(pos.SeoKeyword) / 100).ToString();
|
|
|
}
|