|
|
@@ -790,7 +790,8 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
}
|
|
|
List<decimal> prizes = new List<decimal>();
|
|
|
decimal ActPrize = decimal.Parse(function.CheckNum(pos.SeoKeyword));
|
|
|
- if (pos.BrandId == 1 || pos.BrandId == 3 || pos.BrandId == 4 || pos.BrandId == 5 || pos.BrandId == 6 || pos.BrandId == 8 || pos.BrandId == 9)
|
|
|
+ KqProducts product = db.KqProducts.FirstOrDefault(m => m.Id == pos.BrandId) ?? new KqProducts();
|
|
|
+ if (product.NoticeMoneyUnit == 2)
|
|
|
{
|
|
|
ActPrize = ActPrize / 100;
|
|
|
}
|