问题
l800ge
这个作者很懒,什么都没留下…
展开
-
java.sql.SQLException: Parameter index out of range (4 > number of parameter,which is 3)
<!--decode(b.send_type,#{sendTypeEmail},u.email,null) email,--><!--decode(b.send_type,#{sendTypeSms},u.mobile,null) mobile,-->--decode(b.send_type,#{sendTypeEmail},u.email,null) email,--decode(b.send_type,#{sendTypeSms},u.mobile,null) mob.原创 2021-12-15 15:21:55 · 1416 阅读 · 0 评论 -
遇到页面插入数据显示为 ?问题
页面怎么插入中文字符都显示为 ?,更改数据库的内容可以在页面正常显示刚开始为因为没有utf8一直现在中文为 ? 添加后正常显示中文url=jdbc:mysql://localhost:3306/ysj?useSSL=falseurl=jdbc:mysql://localhost:3306/ysj?useUnicode=true&characterEncoding=utf8&useSSL=false...原创 2021-12-10 16:24:47 · 771 阅读 · 0 评论