測試通過,但是輸出有問題
為啥我的輸出是這樣的: 1000 Seckill [seckillId=null, name=1000, number=100, createTime=Mon Jun 29 19:27:36 CST 2020, startTime=Fri Jan 01 08:00:00 CST 2016, endTime=Sat Jan 02 08:00:00 CST 2016] Process finished with exit code 0
為啥我的輸出是這樣的: 1000 Seckill [seckillId=null, name=1000, number=100, createTime=Mon Jun 29 19:27:36 CST 2020, startTime=Fri Jan 01 08:00:00 CST 2016, endTime=Sat Jan 02 08:00:00 CST 2016] Process finished with exit code 0
2020-06-30
舉報
2021-12-05
seckillid 屬性沒有對應(yīng)上 數(shù)據(jù)庫屬性, 將數(shù)據(jù)庫屬性去掉_按駝峰命名作為屬性