Commit d226090e authored by 钱雯君's avatar 钱雯君

add

parent 43a6f0d8
......@@ -60,7 +60,7 @@ public class 游戏_中奖异常流程测试_AccessTest extends DuibaTestBase {
try {
Map<String,Object> ngameOptionResult = jdbc.findSimpleResult("select * from ngame.ngame_stock where game_option_id = (select id from ngame.duiba_ngame_options where duiba_game_id = ? and deleted = 0)\n","1335");
Map<String,Object> itemStockResult = jdbc.findSimpleResult("select * from stock.tb_stock where stock_id in (select stock_id from goods.item where id = ?","27235");
Map<String,Object> itemStockResult = jdbc.findSimpleResult("select * from stock.tb_stock where stock_id = (select stock_id from goods.item where id = ?)","27235");
Long optionStock = Long.parseLong(ngameOptionResult.get("stock").toString());
Long itemStock = Long.parseLong(itemStockResult.get("stock").toString());
logger.info("奖项原库存值为"+optionStock+"商品原库存为"+itemStock);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment