@Select("insert into shopBus values(#{id},#{goods.id},#{user.id})")
@SelectKey(before=true,keyColumn="id",keyProperty="id",resultType=Integer.class,statement="select shopBus_seq.nextval as id from dual")
public void addShop(Shop shop);
goods和user对象都存有值,为什么还报空值
private Integer id;
private Goods goods;
private User user;
Goods [id=83, goodsName=外套, count=1000, price=100.0, image=banner2.jpg, imageFile=null, remark=阿大恶趣味群若若群,]
User [id=1, userName=aaa, password=111111, phone=12345678900]