显示值数据为多部门数组,需要把数组转换成对应的部门名称
字符串分割替换-http://help.finereport.com/doc-view-2488.html
建立一个和部门名称关联的表,进行表连接就好了
例如
select a.id,b.name from aaa a left join bbb b on a.id=b.id
单元格形态
sql("你的数据连接","select 部门名称 from 表 where 部门ID in ('"+replace($$$,",","','")+"')",1)
参考文档方法,做一个“形态转换”即可。
下拉复选框多选值进行填报时出现的问题及解决方案-http://help.finereport.com/doc-view-1935.html