RN-MY项目启动登陆注册不上去,order_id不在范围内
来源:5-11 基于NavigationDelegate来创建趋势页面的顶部
qq_慕桂英8106421
2021-12-02
RN-MY
项目启动,注册不上去,报错了, order_id不在范围
{“timestamp”:“2021-12-02T04:47:26.949+0000”,“status”:500,“error”:“Internal Server Error”,“message”:"\n### Error updating database. Cause: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Out of range value for column ‘order_id’ at row 1\n### The error may exist in file [/root/app/apache-tomcat-9.0.27/webapps/uapi/WEB-INF/classes/mybatis/UserMapper.xml]\n### The error may involve defaultParameterMap\n### The error occurred while setting parameters\n### SQL: INSERT INTO t_user ( user_name, pwd, imooc_id, order_id, create_time, course) VALUES ( ?, ?, ?, ?, ?, ? ) ON DUPLICATE KEY UPDATE pwd=VALUES(pwd) ,user_name=VALUES(user_name) ,order_id=VALUES(order_id)\n### Cause: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Out of range value for column ‘order_id’ at row 1\n; Data truncation: Out of range value for column ‘order_id’ at row 1; nested exception is com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Out of range value for column ‘order_id’ at row 1",“path”:"/uapi/user/registration/"}
1回答
-
CrazyCodeBoy
2021-12-03
订单号用后四位
00
相似问题