|
@@ -1456,11 +1456,11 @@ namespace MySystem
|
|
}).Entity;
|
|
}).Entity;
|
|
db.SaveChanges();
|
|
db.SaveChanges();
|
|
}
|
|
}
|
|
- if (BankCardType == 0 && selfStat.DirectDebitTradeAmt == 0)
|
|
|
|
|
|
+ if (BankCardType == 0)
|
|
{
|
|
{
|
|
selfStat.DirectDebitTradeAmt += TradeAmount;
|
|
selfStat.DirectDebitTradeAmt += TradeAmount;
|
|
}
|
|
}
|
|
- else if (BankCardType != 0 && selfStat.DirectTradeAmt == 0)
|
|
|
|
|
|
+ else if (BankCardType != 0)
|
|
{
|
|
{
|
|
selfStat.DirectTradeAmt += TradeAmount;
|
|
selfStat.DirectTradeAmt += TradeAmount;
|
|
}
|
|
}
|
|
@@ -1499,11 +1499,11 @@ namespace MySystem
|
|
}).Entity;
|
|
}).Entity;
|
|
db.SaveChanges();
|
|
db.SaveChanges();
|
|
}
|
|
}
|
|
- if (BankCardType == 0 && teamStat.NonDirectDebitTradeAmt == 0)
|
|
|
|
|
|
+ if (BankCardType == 0)
|
|
{
|
|
{
|
|
teamStat.NonDirectDebitTradeAmt += TradeAmount;
|
|
teamStat.NonDirectDebitTradeAmt += TradeAmount;
|
|
}
|
|
}
|
|
- else if (BankCardType != 0 && teamStat.NonDirectTradeAmt == 0)
|
|
|
|
|
|
+ else if (BankCardType != 0)
|
|
{
|
|
{
|
|
teamStat.NonDirectTradeAmt += TradeAmount;
|
|
teamStat.NonDirectTradeAmt += TradeAmount;
|
|
}
|
|
}
|
|
@@ -1725,9 +1725,6 @@ namespace MySystem
|
|
function.WriteLog(ex.ToString(), "创客升级异常");
|
|
function.WriteLog(ex.ToString(), "创客升级异常");
|
|
}
|
|
}
|
|
db.Dispose();
|
|
db.Dispose();
|
|
-
|
|
|
|
-
|
|
|
|
- ProfitHelper.Instance.StatProfit("202204");
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|