1.问题:

### Error updating database. Cause: java.sql.SQLException: Incorrect string value: '\xE4\xBB\x98\xE6\xAC\xBE...' for column 'product_pay_remark' at row 1 ### The error may exist in URL [jar:file:/D:/qlj/ruoyi-admin.jar!/BOOT-INF/lib/ruoyi-system-3.3.0.jar!/mapper/qljsystem/QljProductMapper.xml] ### The error may involve com.ruoyi.qljsystem.mapper.QljProductMapper.updateQljProduct-Inline ### The error occurred while setting parameters ### SQL: update qlj_product SET product_pay_remark = ? where id = ? ### Cause: java.sql.SQLException: Incorrect string value: '\xE4\xBB\x98\xE6\xAC\xBE...' for column 'product_pay_remark' at row 1 ; uncategorized SQLException; SQL state [HY000]; error code [1366]; Incorrect string value: '\xE4\xBB\x98\xE6\xAC\xBE...' for column 'product_pay_remark' at row 1; nested exception is java.sql.SQLException: Incorrect string value: '\xE4\xBB\x98\xE6\xAC\xBE...' for column 'product_pay_remark' at row 1

2.解决方案:修改表中product_pay_remark的编码
在这里插入图片描述

Logo

快速构建 Web 应用程序

更多推荐