|
@@ -42,7 +42,7 @@ namespace MySystem
|
|
|
PxcModels.PosMachinesTwo pos = db.PosMachinesTwo.FirstOrDefault(m => m.PosSn == act.SnNo && m.BindingTime != null);
|
|
|
if (pos != null)
|
|
|
{
|
|
|
- if(pos.BrandId == 18 || pos.BrandId == 19 || pos.BrandId == 20 || pos.BrandId == 21)
|
|
|
+ if(Utils.Instance.IsHaoDa(pos.BrandId))
|
|
|
{
|
|
|
pos = db.PosMachinesTwo.FirstOrDefault(m => m.PosSn == act.SnNo && m.BindingTime != null);
|
|
|
}
|
|
@@ -100,7 +100,7 @@ namespace MySystem
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- if(pos.BrandId == 18 || pos.BrandId == 19 || pos.BrandId == 20 || pos.BrandId == 21)
|
|
|
+ if(Utils.Instance.IsHaoDa(pos.BrandId))
|
|
|
{
|
|
|
int CheckDays = 30;
|
|
|
DateTime now = DateTime.Now;
|
|
@@ -137,7 +137,6 @@ namespace MySystem
|
|
|
}
|
|
|
else if(Deposit == 228)
|
|
|
{
|
|
|
-
|
|
|
if(merchantAddInfo.SubjectType == "SUBJECT_TYPE_SMALL")
|
|
|
{
|
|
|
Prize = 0;
|
|
@@ -149,7 +148,6 @@ namespace MySystem
|
|
|
}
|
|
|
else if(Deposit == 380)
|
|
|
{
|
|
|
-
|
|
|
if(merchantAddInfo.SubjectType == "SUBJECT_TYPE_SMALL")
|
|
|
{
|
|
|
Prize = 100;
|
|
@@ -161,14 +159,38 @@ namespace MySystem
|
|
|
}
|
|
|
else if(Deposit == 399)
|
|
|
{
|
|
|
-
|
|
|
if(merchantAddInfo.SubjectType == "SUBJECT_TYPE_SMALL")
|
|
|
{
|
|
|
Prize = 0;
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- Prize = 150;
|
|
|
+ if(pos.BrandId == 29)
|
|
|
+ {
|
|
|
+ Prize = 131;
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ Prize = 150;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ else if(Deposit == 499)
|
|
|
+ {
|
|
|
+ if(merchantAddInfo.SubjectType == "SUBJECT_TYPE_SMALL")
|
|
|
+ {
|
|
|
+ Prize = 0;
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ if(pos.BrandId == 29)
|
|
|
+ {
|
|
|
+ Prize = 218;
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ Prize = 150;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|