0

如何获取属于某个流程组的流程,而将那些流程留在外包模型中?

进程表 UUID ----- frn_process_group_id 001 --------101 002 --------101 003 --------102

进程组表 UUID 101 102 103

外包模型表 UUID 501 502 503

外包进程表 UUID --------- frn_outsource_id ---------- frn_process_id 701 --------- 501 ---------- 001 702 -- -------- 501 ---------- 003

我试过这个查询 - Select * from processes pr Inner join Outsource Processes op on pr.uuid = op.frn_process_id where pr.frn_process_group_id="101" and pr.uuid not in (select op.frn_process_id from outsource process op where op. frn_outsource_id="501")

4

0 回答 0