You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
在书本第161页中,创建第3个存储过程的部分语句如下:
CREATE PROCEDURE insert_user_and_roles (
OUT userId BIGINT,
OUT createTime DATETIME,
IN userName VARCHAR(50),
IN userPassword VARCHAR(50),
IN userEmail VARCHAR(50),
IN userInfo TEXT,
IN headImg BLOB,
IN roleIds VARCHAR(200)
)
在书本第161页中,创建第3个存储过程的部分语句如下:
CREATE PROCEDURE insert_user_and_roles (
OUT userId BIGINT,
OUT createTime DATETIME,
IN userName VARCHAR(50),
IN userPassword VARCHAR(50),
IN userEmail VARCHAR(50),
IN userInfo TEXT,
IN headImg BLOB,
IN roleIds VARCHAR(200)
)
其中, 有一个OUT参数名为: userId 。
在书本第166页, UserMapper.xml文件中对应创建的 标签内容如下:
`
`
其中一个OUT参数为 user.id 。
存储过程中的OUT参数为:userId,xml文件中的OUT参数为id。 这里,是否有错误呢?
The text was updated successfully, but these errors were encountered: