问答详情
源自:4-1 数据库设计与编码

按照老师的数据表操作,查询seckillId都为0?已经设置主键seckillId从1000,自动增长

Seckill{seckllId=0, name='1000元秒杀iphone6', number=100, startTime=Sun Nov 01 00:00:00 CST 2015, endTime=Mon Nov 02 00:00:00 CST 2015, createTime=Thu Nov 10 00:32:25 CST 2016}

Seckill{seckllId=0, name='1000元秒杀iphone6', number=100, startTime=Sun Nov 01 00:00:00 CST 2015, endTime=Mon Nov 02 00:00:00 CST 2015, createTime=Thu Nov 10 00:32:25 CST 2016}

Seckill{seckllId=0, name='500元秒杀ipad2', number=200, startTime=Sun Nov 01 00:00:00 CST 2015, endTime=Mon Nov 02 00:00:00 CST 2015, createTime=Thu Nov 10 00:32:25 CST 2016}

Seckill{seckllId=0, name='300元秒杀小米4', number=300, startTime=Sun Nov 01 00:00:00 CST 2015, endTime=Mon Nov 02 00:00:00 CST 2015, createTime=Thu Nov 10 00:32:25 CST 2016}

Seckill{seckllId=0,


提问者:慕粉3380562 2016-11-11 15:21

个回答

  • Pengo_Wen
    2016-11-14 16:21:47
    已采纳

    seckllId,手误?不是seckillId?