1)一级报表和二级报表通过字段'p0_item_id'关联;2)一级报表是项目负责人,二级报表是明细任务负责人,两个报表的负责人不一致;3)一级报表通过以下权限卡控;如何实现二级报表的负责人匹配fine_username登录用户名可以查看二级报表对应的'p0_item_id'一级报表数据; a)一级报表权限卡控:${if(find('PLM开发组',plm_role)>0,""," and (t10.fzch1 = '" + username + "' or t10.g9_dev_sup = '" + username + "' or t10.生产厂区 in (select t2.low as 权限low值 from T_PLM_FINE_USER t1,t_plm_fine_role t2 where t1.role=t2.role_id and t2.MOD='P0EXPEND' and t2.FIELD='FACTORY' and t1.user_id ='"+fine_username+"') )")} b)二级报表SELECT p0_item_id,item_id,SUBSTR(owner_user,-9,8) as user_idFROM T_IF_P0DETAIL tWHERE 1=1and p0_item_id = '${项目编码}'