lcl 1 年之前
父节点
当前提交
280d65da03
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      AppStart/Helper/StatService.cs

+ 4 - 4
AppStart/Helper/StatService.cs

@@ -67,9 +67,9 @@ namespace MySystem
                                 int PayMode = int.Parse(selfDr["PayMode"].ToString());
                                 int IsAct = int.Parse(selfDr["IsAct"].ToString());
                                 string SnNo = selfDr["SnNo"].ToString();
-                                string TradeDate = selfDr[3].ToString();
-                                decimal TradeAmount = decimal.Parse(selfDr[4].ToString());
-                                int TradeCount = int.Parse(selfDr[5].ToString());
+                                string TradeDate = selfDr[5].ToString();
+                                decimal TradeAmount = decimal.Parse(selfDr[6].ToString());
+                                int TradeCount = int.Parse(selfDr[7].ToString());
                                 string TradeMonth = TradeDate.Substring(0, 6);
 
                                 //创客交易额
@@ -166,7 +166,7 @@ namespace MySystem
                 catch (Exception ex)
                 {
                     tran.Rollback();
-                    function.WriteLog(DateTime.Now.ToString() + "\n" + ex.ToString(), "统计昨天交易额异常");
+                    function.WriteLog(DateTime.Now.ToString() + "\n" + ex.ToString(), "统计商户和创客交易额异常");
                 }
             }
             db.Dispose();