dao测试:
public void testQueryByIdWithSeckill() throws Exception {
long id=1000L;
long phone = 18796216353L;
SuccessKilled successKilled = successKilledDao.queryByIdWithSeckill(id, phone);
System.out.println(successKilled);
System.out.println(successKilled.getSeckill());
}
getSeckill() 有错误。error:the method getSeckill() is undefined for the type Successkilled。
大咪
相关分类