@@ -42,10 +42,10 @@ public class 账户异常提现_AccessTest extends DuibaTestBase{
...
@@ -42,10 +42,10 @@ public class 账户异常提现_AccessTest extends DuibaTestBase{
//指定用户
//指定用户
privatestaticintuid=4459;
privatestaticintuid=4459;
privatestaticStringconsumerId="100098000";
privatestaticStringconsumerId="100098000";
privatestaticintuid2=4460;
privatestaticintuid2=4822;
privatestaticStringconsumerId2="100098001";
privatestaticStringconsumerId2="100108125";
privatestaticintuid3=4461;
privatestaticintuid3=4793;
privatestaticStringconsumerId3="100098002";
privatestaticStringconsumerId3="100108076";
privatestaticintuid4=4474;
privatestaticintuid4=4474;
privatestaticStringconsumerId4="100098031";
privatestaticStringconsumerId4="100098031";
@AfterClass
@AfterClass
...
@@ -103,9 +103,11 @@ public class 账户异常提现_AccessTest extends DuibaTestBase{
...
@@ -103,9 +103,11 @@ public class 账户异常提现_AccessTest extends DuibaTestBase{
@Test
@Test
publicvoid提现账号已使用()throwsException{
publicvoid提现账号已使用()throwsException{
//修改账户过期时间,确保账户余额不会过期清零
jdbc.update("update consumer_account_log.tb_expire_consumer_account set gmt_modified ='"+getTime(1)+"' where account_id = '"+consumerId2+"_6_0'");
//获取原账户余额
//获取原账户余额
Map<String,Object>selectResult=jdbc.findSimpleResult("select * from consumer_accounts.tb_consumer_account_0977 where account_id = '"+consumerId2+"_6_0' ");
Map<String,Object>selectResult=jdbc.findSimpleResult("select * from consumer_accounts.tb_consumer_account_0861 where account_id = '"+consumerId2+"_6_0' ");
@@ -132,7 +134,7 @@ public class 账户异常提现_AccessTest extends DuibaTestBase{
...
@@ -132,7 +134,7 @@ public class 账户异常提现_AccessTest extends DuibaTestBase{
publicvoid开发者账户余额不足()throwsException{
publicvoid开发者账户余额不足()throwsException{
//获取原账户余额
//获取原账户余额
Map<String,Object>selectResult=jdbc.findSimpleResult("select * from consumer_accounts.tb_consumer_account_0978 where account_id = '"+consumerId3+"_6_0' ");
Map<String,Object>selectResult=jdbc.findSimpleResult("select * from consumer_accounts.tb_consumer_account_0812 where account_id = '"+consumerId3+"_6_0' ");