Ver código fonte

添加订单通道区分

DuGuYang 1 ano atrás
pai
commit
65f6225c5d
1 arquivos alterados com 3 adições e 0 exclusões
  1. 3 0
      Util/BusinessUtil.cs

+ 3 - 0
Util/BusinessUtil.cs

@@ -40,6 +40,7 @@ namespace MySystem
                 curData.Add("WeChatInFactAmount", subdata["WeChatInfactAmount"].ToString()); //微信实收
                 curData.Add("AliPayInFactAmount", subdata["AliPayInFactAmount"].ToString()); //支付宝实收
                 curData.Add("OrderCount", subdata["OderCount"].ToString()); //订单数
+                curData.Add("Kind", 1); //通道(1 直连 2 银联)
                 dataList.Add(curData);
             }
             return dataList;
@@ -97,6 +98,7 @@ namespace MySystem
                 curData.Add("PayMode", subdata["PayMode"].ToString()); //支付方式(1 支付宝 2 微信)
                 curData.Add("IsAct", subdata["IsAct"].ToString()); //是否活动(1 是 0 否)
                 curData.Add("PayMoney", subdata["PayMoney"].ToString()); //订单金额
+                curData.Add("Kind", 1); //通道(1 直连 2 银联)
                 dataList.Add(curData);
             }
             return dataList;
@@ -121,6 +123,7 @@ namespace MySystem
                 obj.Add("PayMoney", subdata["PayMoney"].ToString()); //是否活动(1 是 0 否)
                 obj.Add("IsAct", subdata["IsAct"].ToString()); //是否活动(1 是 0 否)
                 obj.Add("OrderNo", subdata["OrderNo"].ToString()); //订单号
+                obj.Add("Kind", 1); //通道(1 直连 2 银联)
                 List<Dictionary<string, object>> dataList = new List<Dictionary<string, object>>();
                 List<Dictionary<string, object>> dics = new ConsumerProfitService().List(new List<FieldItem>(), " and OrderId=" + int.Parse(subdata["Id"].ToString()) + "", 1, 999);