为什么后端的mysql语句插入不进去?请问哪里出问题了


@Insert("INSERT into gcar(id,name,Gid,price,user,userid,count) VALUES(#{id},#{name},#{Gid},#{price},#{user},#{userId},#{count)")
    boolean insert(gcar gcar);

数据库表

img


实体类

img

#{count})")

#{count)") 这后面这里少了个符号了吧。右中括号呢

不知道你这个问题是否已经解决, 如果还没有解决的话:

如果你已经解决了该问题, 非常希望你能够分享一下解决方案, 写成博客, 将相关链接放在评论区, 以帮助更多的人 ^-^