Explorar o código

领导人奖励bug

lcl hai 1 ano
pai
achega
4131d961a4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      AppStart/Helper/LeaderCompPrize2Helper.cs

+ 1 - 1
AppStart/Helper/LeaderCompPrize2Helper.cs

@@ -138,7 +138,7 @@ namespace MySystem
                 function.WriteLog("MonthString:" + MonthString, "领导人达标奖励日志");
 
                 //计算达标市场
-                DataTable tmps = CustomerSqlConn.dtable("select id,pid,pid_path from kxs_user where id in ((select user_id from kxs_user_trade_info where trade_month='" + month + "' and is_vip=1))", MysqlConn.SqlConnStr);
+                DataTable tmps = CustomerSqlConn.dtable("select id,pid,pid_path from kxs_user where id in ((select user_id from kxs_user_trade_info where trade_month='" + month + "' and is_vip=1))", MysqlConn.JavaUserSqlConnStr);
                 function.WriteLog(tmps.Rows.Count.ToString(), "领导人达标奖励日志");
                 foreach(DataRow stat in tmps.Rows)
                 {