直转审核页面查询优化
This commit is contained in:
parent
ce2e0fb2b5
commit
443cd22e4d
|
|
@ -40,12 +40,10 @@
|
|||
LEFT JOIN bm_project bpl1 ON bpl1.pro_id = bai1.project_id
|
||||
LEFT JOIN bm_unit bui ON bui.unit_id = bai.unit_id
|
||||
LEFT JOIN bm_unit bui1 ON bui1.unit_id = bai1.unit_id
|
||||
LEFT JOIN direct_apply_details dad on dad.direct_id=dai.id
|
||||
left join sys_user su on dai.create_by = su.user_id
|
||||
left join sys_workflow_record swr on dai.id = swr.task_id and swr.task_type = '16'
|
||||
left join sys_workflow_type swt on swr.workflow_id = swt.id
|
||||
left join sys_workflow_node swn on swt.id = swn.type_id
|
||||
left join sys_workflow_config swc on swn.id = swc.node_id
|
||||
left join (
|
||||
select swrs.*
|
||||
from sys_workflow_record_history swrs
|
||||
|
|
|
|||
Loading…
Reference in New Issue