Map<String,Object>user01_order=jdbc.findSimpleResult("select * from activity_order_con.tb_trade_center_activity_order_0661 where consumer_id = '100112021' and duiba_activity_id = ?\n",betId);
Map<String,Object>user01_order=jdbc.findSimpleResult("select * from activity_order_con.tb_trade_center_activity_order_0723 where consumer_id = '100112083' and duiba_activity_id = ?\n",betId);
Map<String,Object>user02_order=jdbc.findSimpleResult("select * from activity_order_con.tb_trade_center_activity_order_0691 where consumer_id = '100112051' and duiba_activity_id = ?\n",betId);
Map<String,Object>user02_order=jdbc.findSimpleResult("select * from activity_order_con.tb_trade_center_activity_order_0724 where consumer_id = '100112084' and duiba_activity_id = ?\n",betId);
Map<String,Object>user01_order=jdbc.findSimpleResult("select * from activity_order_con.tb_trade_center_activity_order_0723 where consumer_id = '100112083' and duiba_activity_id = ?\n",betId);
Map<String,Object>user01_order=jdbc.findSimpleResult("select * from activity_order_con.tb_trade_center_activity_order_0661 where consumer_id = '100112021' and duiba_activity_id = ?\n",betId);
Map<String,Object>user02_order=jdbc.findSimpleResult("select * from activity_order_con.tb_trade_center_activity_order_0724 where consumer_id = '100112084' and duiba_activity_id = ?\n",betId);
Map<String,Object>user02_order=jdbc.findSimpleResult("select * from activity_order_con.tb_trade_center_activity_order_0691 where consumer_id = '100112051' and duiba_activity_id = ?\n",betId);
mapuser1=jdbc.findSimpleResult("select * from dafuweng.user where id="+uid1);
mapuser1=jdbc.findSimpleResult("select * from dafuweng.user where id="+uid1);
mapuser2=jdbc.findSimpleResult("select * from dafuweng.user where id="+uid2);
mapuser2=jdbc.findSimpleResult("select * from dafuweng.user where id="+uid2);
mapuser3=jdbc.findSimpleResult("select * from dafuweng.user where id="+uid3);
mapuser3=jdbc.findSimpleResult("select * from dafuweng.user where id="+uid3);
...
@@ -121,11 +140,11 @@ public class 瓜分红包_实际瓜分 extends DuibaTestBase {
...
@@ -121,11 +140,11 @@ public class 瓜分红包_实际瓜分 extends DuibaTestBase {
@Test(dependsOnMethods={"投注"})
@Test(dependsOnMethods={"投注"})
publicvoid开奖()throwsException{
publicvoid开奖()throwsException{
//查询数据库,开奖前红包余额
//查询数据库,开奖前红包余额
Map<String,Object>user01_account1=jdbc.findSimpleResult("select * from consumer_accounts.tb_consumer_account_0788 where consumer_id = '100112148' and account_type = '6'\n");
Map<String,Object>user01_account1=jdbc.findSimpleResult("select * from consumer_accounts.tb_consumer_account_0830 where consumer_id = '100112190' and account_type = '6'\n");
Map<String,Object>user02_account1=jdbc.findSimpleResult("select * from consumer_accounts.tb_consumer_account_0824 where consumer_id = '100112184' and account_type = '6'\n");
Map<String,Object>user02_account1=jdbc.findSimpleResult("select * from consumer_accounts.tb_consumer_account_0838 where consumer_id = '100112198' and account_type = '6'\n");
Map<String,Object>user03_account1=jdbc.findSimpleResult("select * from consumer_accounts.tb_consumer_account_0825 where consumer_id = '100112185' and account_type = '6'\n");
Map<String,Object>user03_account1=jdbc.findSimpleResult("select * from consumer_accounts.tb_consumer_account_0839 where consumer_id = '100112199' and account_type = '6'\n");
@@ -147,11 +166,11 @@ public class 瓜分红包_实际瓜分 extends DuibaTestBase {
...
@@ -147,11 +166,11 @@ public class 瓜分红包_实际瓜分 extends DuibaTestBase {
Thread.sleep(8000);
Thread.sleep(8000);
//查询数据库,开奖后红包余额
//查询数据库,开奖后红包余额
user01_account1=jdbc.findSimpleResult("select * from consumer_accounts.tb_consumer_account_0788 where consumer_id = '100112148' and account_type = '6'\n");
user01_account1=jdbc.findSimpleResult("select * from consumer_accounts.tb_consumer_account_0830 where consumer_id = '100112190' and account_type = '6'\n");
user02_account1=jdbc.findSimpleResult("select * from consumer_accounts.tb_consumer_account_0824 where consumer_id = '100112184' and account_type = '6'\n");
user02_account1=jdbc.findSimpleResult("select * from consumer_accounts.tb_consumer_account_0838 where consumer_id = '100112198' and account_type = '6'\n");
user03_account1=jdbc.findSimpleResult("select * from consumer_accounts.tb_consumer_account_0825 where consumer_id = '100112185' and account_type = '6'\n");
user03_account1=jdbc.findSimpleResult("select * from consumer_accounts.tb_consumer_account_0839 where consumer_id = '100112199' and account_type = '6'\n");
Map<String,Object>user01_order=jdbc.findSimpleResult("select * from activity_order_con.tb_trade_center_activity_order_0788 where consumer_id = '100112148' and duiba_activity_id = ?\n",betId);
Map<String,Object>user01_order=jdbc.findSimpleResult("select * from activity_order_con.tb_trade_center_activity_order_0830 where consumer_id = '100112190' and duiba_activity_id = ?\n",betId);
Map<String,Object>user02_order=jdbc.findSimpleResult("select * from activity_order_con.tb_trade_center_activity_order_0825 where consumer_id = '100112185' and duiba_activity_id = ?\n",betId);
Map<String,Object>user02_order=jdbc.findSimpleResult("select * from activity_order_con.tb_trade_center_activity_order_0839 where consumer_id = '100112199' and duiba_activity_id = ?\n",betId);
mapuser1=jdbc.findSimpleResult("select * from dafuweng.user where id="+uid1);
mapuser1=jdbc.findSimpleResult("select * from dafuweng.user where id="+uid1);
mapuser2=jdbc.findSimpleResult("select * from dafuweng.user where id="+uid2);
mapuser2=jdbc.findSimpleResult("select * from dafuweng.user where id="+uid2);
mapuser3=jdbc.findSimpleResult("select * from dafuweng.user where id="+uid3);
mapuser3=jdbc.findSimpleResult("select * from dafuweng.user where id="+uid3);
...
@@ -140,11 +121,11 @@ public class 瓜分红包_实际瓜分_AccessTest extends DuibaTestBase {
...
@@ -140,11 +121,11 @@ public class 瓜分红包_实际瓜分_AccessTest extends DuibaTestBase {
@Test(dependsOnMethods={"投注"})
@Test(dependsOnMethods={"投注"})
publicvoid开奖()throwsException{
publicvoid开奖()throwsException{
//查询数据库,开奖前红包余额
//查询数据库,开奖前红包余额
Map<String,Object>user01_account1=jdbc.findSimpleResult("select * from consumer_accounts.tb_consumer_account_0830 where consumer_id = '100112190' and account_type = '6'\n");
Map<String,Object>user01_account1=jdbc.findSimpleResult("select * from consumer_accounts.tb_consumer_account_0788 where consumer_id = '100112148' and account_type = '6'\n");
Map<String,Object>user02_account1=jdbc.findSimpleResult("select * from consumer_accounts.tb_consumer_account_0838 where consumer_id = '100112198' and account_type = '6'\n");
Map<String,Object>user02_account1=jdbc.findSimpleResult("select * from consumer_accounts.tb_consumer_account_0824 where consumer_id = '100112184' and account_type = '6'\n");
Map<String,Object>user03_account1=jdbc.findSimpleResult("select * from consumer_accounts.tb_consumer_account_0839 where consumer_id = '100112199' and account_type = '6'\n");
Map<String,Object>user03_account1=jdbc.findSimpleResult("select * from consumer_accounts.tb_consumer_account_0825 where consumer_id = '100112185' and account_type = '6'\n");
@@ -166,11 +147,11 @@ public class 瓜分红包_实际瓜分_AccessTest extends DuibaTestBase {
...
@@ -166,11 +147,11 @@ public class 瓜分红包_实际瓜分_AccessTest extends DuibaTestBase {
Thread.sleep(8000);
Thread.sleep(8000);
//查询数据库,开奖后红包余额
//查询数据库,开奖后红包余额
user01_account1=jdbc.findSimpleResult("select * from consumer_accounts.tb_consumer_account_0830 where consumer_id = '100112190' and account_type = '6'\n");
user01_account1=jdbc.findSimpleResult("select * from consumer_accounts.tb_consumer_account_0788 where consumer_id = '100112148' and account_type = '6'\n");
user02_account1=jdbc.findSimpleResult("select * from consumer_accounts.tb_consumer_account_0838 where consumer_id = '100112198' and account_type = '6'\n");
user02_account1=jdbc.findSimpleResult("select * from consumer_accounts.tb_consumer_account_0824 where consumer_id = '100112184' and account_type = '6'\n");
user03_account1=jdbc.findSimpleResult("select * from consumer_accounts.tb_consumer_account_0839 where consumer_id = '100112199' and account_type = '6'\n");
user03_account1=jdbc.findSimpleResult("select * from consumer_accounts.tb_consumer_account_0825 where consumer_id = '100112185' and account_type = '6'\n");
Map<String,Object>user01_order=jdbc.findSimpleResult("select * from activity_order_con.tb_trade_center_activity_order_0830 where consumer_id = '100112190' and duiba_activity_id = ?\n",betId);
Map<String,Object>user01_order=jdbc.findSimpleResult("select * from activity_order_con.tb_trade_center_activity_order_0788 where consumer_id = '100112148' and duiba_activity_id = ?\n",betId);
Map<String,Object>user02_order=jdbc.findSimpleResult("select * from activity_order_con.tb_trade_center_activity_order_0839 where consumer_id = '100112199' and duiba_activity_id = ?\n",betId);
Map<String,Object>user02_order=jdbc.findSimpleResult("select * from activity_order_con.tb_trade_center_activity_order_0825 where consumer_id = '100112185' and duiba_activity_id = ?\n",betId);