message: "参数化语句格式有误:freemarker.core.NonStringOrTemplateOutputException:
For "${...}" content:
Expected a string or something automatically convertible to string (number, date or boolean),
or "template output" , but this has evaluated to a sequence
(ArrayList wrapped into f.t.DefaultListAdapter):↵==> idNum
查看数据传递结果:
可以看到数据传输过来为list类型值
需要声明数组位置后再传值。
原来的传输设置为 : column:0
修改为 :[0]:0
后续随记(做freemaker参考用)
freemarker 类型转换
操作字符串函数
1. substring(start,end)从一个字符串中截取子串
start:截取子串开始的索引,start必须大于等于0,小于等于end
end: 截取子串的长度,end必须大于等于