|
@@ -621,9 +621,6 @@ namespace MySystem
|
|
|
//统计商户交易额
|
|
|
string TradeDate = trade.CreateDate == null ? DateTime.Now.ToString("yyyyMMdd") : trade.CreateDate.Value.ToString("yyyyMMdd");
|
|
|
RedisDbconn.Instance.AddList("StatMerTradeAmountQueue", "{\"TradeDate\":\"" + TradeDate + "\",\"TradeAmount\":\"" + TradeAmount + "\",\"MerchantId\":\"" + pos.BindMerchantId + "\",\"BrandId\":\"" + BrandId + "\"}");
|
|
|
-
|
|
|
- //推送数据给java
|
|
|
- PosPushDataHelper.Trade(add);
|
|
|
}
|
|
|
db.SpOrderNos.Add(new PxcModels.SpOrderNos()
|
|
|
{
|
|
@@ -675,11 +672,6 @@ namespace MySystem
|
|
|
PxcModels.PosMerchantInfo merchant = db.PosMerchantInfo.FirstOrDefault(m => m.Id == pos.BindMerchantId) ?? new PxcModels.PosMerchantInfo();
|
|
|
function.WriteLog("PosMerchantInfo:" + merchant.KqMerNo, "服务费奖励发放日志");
|
|
|
StatService.Instance.PreActPrize(db, pos, merchant, pos.SeoKeyword);
|
|
|
-
|
|
|
- //推送数据给java
|
|
|
- decimal Deposit = decimal.Parse(function.CheckNum(pos.SeoKeyword));
|
|
|
- if(Deposit > 1000) Deposit = Deposit / 100;
|
|
|
- PosPushDataHelper.Deposit(merchant, Deposit);
|
|
|
}
|
|
|
}
|
|
|
spdb.Dispose();
|
|
@@ -797,9 +789,6 @@ namespace MySystem
|
|
|
//统计商户交易额
|
|
|
string TradeDate = trade.CreateDate == null ? DateTime.Now.ToString("yyyyMMdd") : trade.CreateDate.Value.ToString("yyyyMMdd");
|
|
|
RedisDbconn.Instance.AddList("StatMerTradeAmountQueue", "{\"TradeDate\":\"" + TradeDate + "\",\"TradeAmount\":\"" + TradeAmount + "\",\"MerchantId\":\"" + pos.BindMerchantId + "\",\"BrandId\":\"" + BrandId + "\"}");
|
|
|
-
|
|
|
- //推送数据给java
|
|
|
- PosPushDataHelper.Trade(add);
|
|
|
}
|
|
|
db.SpOrderNos.Add(new PxcModels.SpOrderNos()
|
|
|
{
|
|
@@ -1028,10 +1017,6 @@ namespace MySystem
|
|
|
|
|
|
//推送激活数据
|
|
|
if(Deposit == 0) Utils.Instance.SendActData(pos);
|
|
|
- if(pos.BrandId == 14 && merchant != null)
|
|
|
- {
|
|
|
- PosPushDataHelper.Bind(merchant);
|
|
|
- }
|
|
|
}
|
|
|
else if (pos.ActivationState == 1 && pos.BrandId == 14)
|
|
|
{
|