【发布时间】:2022-08-16 12:08:18
【问题描述】:
我的代码
errori.stack.imgur.com/4T1Jl.png
更新数据库时出错。导致 java.sql.SQLSyntaxErrorException。数据库 [{orderProductQty=3, productCd=4}, {orderProductQty=2, productCd=1}] 从 Service 发送到 Dao。但是Mybatis中的数据没有更新。我不知道为什么..所以我尝试修复了很多次,如下所示。但它是一样的。 1、 2、 3. 4、 5.
-
在您的帖子中发送参数notetitle。
-
这回答了你的问题了吗? MissingServletRequestParameterException
-
@pringi 我刚刚给出了 require = false , defaultValue = \"defaultNotetitle\",就像一些东西,但它是一样的。我不知道如何解决...
-
localhost:8080/note/save?notetitle=A¬edescription=B。您可以在 Spring Web 上看到一个教程,例如 spring.io/guides/gs/serving-web-content
-
@pringi 非常感谢你