如题
select * from tab1 left join tab2 on tab1.orgcode = tab2.orgcode where tab2.username ='${fine_username}'
——————————
参考权限细粒度参数控制-https://help.fanruan.com/finereport/doc-view-865.html