@@ -56,7 +56,9 @@ public class 账户余额清零_AccessTest extends DuibaTestBase {
@Test(description="过期日前账户余额>0")
publicvoida_账户过期余额清零()throwsException{
//修改账户过期时间,确保账户始终处于过期状态
jdbc.update("update consumer_account_log.tb_expire_consumer_account set gmt_modified ='"+getTime(-1)+"' where account_id = '"+consumerId+"_6_0'");
//jdbc.update("update consumer_account_log.tb_expire_consumer_account set gmt_modified ='" + getTime(-1) + "' where account_id = '"+consumerId+"_6_0'");
jdbc.update("update consumer_account_log.tb_expire_consumer_account set gmt_modified ='2018-12-31 08:00:00' where account_id = '"+consumerId+"_6_0'");
//删除过期记录
jdbc.update("delete from consumer_account_log.tb_consumer_accounts_log where account_id = '"+consumerId+"_6_0' and biz_type='10'");
//删除自动化充值记录
...
...
@@ -140,7 +142,8 @@ public class 账户余额清零_AccessTest extends DuibaTestBase {
@Test(description="过期日前账户余额=0")
publicvoidd_账户过期余额清零2()throwsException{
//修改账户过期时间,确保账户始终处于过期状态
jdbc.update("update consumer_account_log.tb_expire_consumer_account set gmt_modified ='"+getTime(-1)+"' where account_id = '"+consumerId2+"_6_0'");
//jdbc.update("update consumer_account_log.tb_expire_consumer_account set gmt_modified ='" + getTime(-1) + "' where account_id = '"+consumerId2+"_6_0'");
jdbc.update("update consumer_account_log.tb_expire_consumer_account set gmt_modified ='2018-12-31 08:00:00' where account_id = '"+consumerId2+"_6_0'");
Map<String,Object>sqlResult=jdbc.findSimpleResult("select * from consumer_account_log.tb_expire_consumer_account where account_id = '"+consumerId2+"_6_0' ");