代码段
dao.executeSql(Sqls.create("update nmpa set html = @html where id=@id ").setParam("html", ele.html()).setParam("id", rec.getInt("id")).toString());
异常:
org.nutz.dao.DaoException: !Nutz SQL Error: 'update nmpa set html = '<p></p>
电子邮箱:mdct?.gov.cn(邮件主题请注明“2020年行业标准制修订项目反馈意见”)' where id=11'
CaseMessage=Parameter index out of range (1 > number of parameters, which is 0).
异常中把一些垃圾html代码删除了