写公式函数把
SQL函数 https://help.fanruan.com/finereport/doc-view-846.html
========
参考
根据控件值自动匹配数据 https://help.fanruan.com/finereport/doc-view-534.html
工序的下拉框数据字典 用公式处理
写SQL函数
---------------