lcl 1 сар өмнө
parent
commit
4131d961a4

+ 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)
                 {