求助:帆软平台-用户管理中“部门职务”和怎么和用户关联起来的?
没有找到userid和postid相关联的表呢
大部分需求不用和用户关联的,可以直接在sql里面对,部门,角色进行判断的
$fine_role 是角色
类似这样在sql里面
${if(or(find("财务报表_领导",$fine_role)>0,find("财务报表_公司查询",$fine_role)>0),"","and username = '"+fine_username+"'")}
https://help.fanruan.com/finereport/doc-view-3151.html 参考