急求解test testqueryByIdWithSeckill 报错 java.lang.NullPointerException的问题
我试着几种方法解决,好像都没用。代码如下
@Test
public void testqueryByIdWithSeckill() {
long itemid = 1000L;
long userid = 2013000L;
SuccessKilled seckill = successKilledDao.queryByIdWithSeckill(itemid, userid);
System.out.println("seckill:" + seckill);
System.out.println("*********/n" + seckill.getSeckill());
}