页面上可以获取到uids 现在想通过这个uids 查到另外一个参数 然后另一个参数还要作为条件再查出一个数据 不知道用这个报表怎么样才能实现啊? 附上我的sql语句 select sum((select nvl(sum(round(wz.price_plan, 2) * atm.apply_num), 0) from WZGL_MATERIAL_INFO wz left join WZGL_MATTERAPPLY_TO_MATERIA atm on wz.uids = atm.materia_id where atm.apply_uids = t.uids ))as planPrice from wzgl_matterapply t where cost_subject = '331a51399ee547eb96138f193dd9c09a' 页面上只能获取到uids 现在需要在报表中通过uids查到cost_subject 然后再通过cost_subject查到对应数据。求解 |
最佳回答 |
||||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|