流程表单中报销数据,打算以项目单位统计每个项目的费用支出总和。
您好,我在流程表单中有下列财务报销数据,比如住宿费,交通费等,这些表单数据在QRY_ITEM中可以查到。https://www.o2oa.net:443/x_file_assemble_control/jaxrs/file/b038009c-2b19-4ffd-857c-53da0808a3ca/download/stream
需求:打算以项目单位统计每个项目的费用支出总和。
实现:写了下面的sql语句:
select xstringShortValue from QRY_ITEM
where xbundle in
(select q.xbundle from PP_C_WORKCOMPLETED o,QRY_ITEM q
where o.xjob = q.xbundle
and q.xpath0 = 'textfield_31'
and q.xstringShortValue = :pjno )
and xpath1 = 'total'
and xitemType = 'p'
and xpath2 not like 'datagrid_1%'
像这种sql句可以在数据中心的查询配置中使用吗?
或者有其他更好的方法吗? 您好:我们平台不建议您使用数据库直接查询内部表!
建议您使用对应的流程接口获得数据! 谢谢!像这种数据使用流程的什么接口可以解决呢? 您好:
http://域名:20020/x_processplatform_assemble_surface/jest/index.html#中
[*]DataAction (数据操作)、中有很多get方法
[*]https://www.o2oa.net:443/x_file_assemble_control/jaxrs/file/08771146-cf08-489d-b69a-43d3a720fccf/download/stream
您根据您需要得到对应的数据即可! 谢谢!
页:
[1]