平台审批的几张表以及关系

select * from WORKITEM LEFT JOIN PROCESSINSTANCE ON WORKITEM.PROCESSDEFINITIONID=PROCESSINSTANCE.PROCESSDEFINITIONID LEFT JOIN SZYDHYB ON SZYDHYB_LCNM=PROCESSINSTANCE.PROCESSINSTANCEID where WORKITEM.STATE=2
AND PARTICIPANT ='zhaodachun@hq.cmcc'
AND SZYDHYB_HYMC='2020第0019次经理层办公会' order by WORKITEM.STARTEDDATE DESC

 

PROCESSINSTANCE 

 

BIZLOG

 

WORKITEM

 

posted @ 2020-12-01 13:52  泉城余文乐  Views(76)  Comments(0Edit  收藏  举报