Browse Source

修复每天重置交易额的问题

lcl 1 year ago
parent
commit
5bbf7a7c7c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      AppStart/Helper/StatService.cs

+ 1 - 1
AppStart/Helper/StatService.cs

@@ -1873,7 +1873,7 @@ namespace MySystem
             foreach(string UserId in dic.Keys)
             foreach(string UserId in dic.Keys)
             {
             {
                 index += 1;
                 index += 1;
-                sql += "update Users set ThisMonthTrade=ThisMonthTrade+" + dic[UserId] + " where Id=" + UserId + ";";
+                sql += "update Users set ThisMonthTrade=" + dic[UserId] + " where Id=" + UserId + ";";
                 if(index >= 200)
                 if(index >= 200)
                 {
                 {
                     CustomerSqlConn.op(sql, MysqlConn.SqlConnStr);
                     CustomerSqlConn.op(sql, MysqlConn.SqlConnStr);