@@ -42,8 +42,8 @@ public class 账户异常提现_AccessTest extends DuibaTestBase{
...
@@ -42,8 +42,8 @@ public class 账户异常提现_AccessTest extends DuibaTestBase{
//指定用户
//指定用户
privatestaticintuid=4459;
privatestaticintuid=4459;
privatestaticStringconsumerId="100098000";
privatestaticStringconsumerId="100098000";
privatestaticintuid2=4460;
privatestaticintuid2=4822;
privatestaticStringconsumerId2="100098001";
privatestaticStringconsumerId2="100108125";
privatestaticintuid3=4793;
privatestaticintuid3=4793;
privatestaticStringconsumerId3="100108076";
privatestaticStringconsumerId3="100108076";
privatestaticintuid4=4474;
privatestaticintuid4=4474;
...
@@ -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' ");