查找各個對象的UUID

查找sfo 的UUID (不是查找sfo的實例的UUID)
select f_root_oid from hs_stateflow_object where f_bo_name =( select f_root_oid from hs_business_object where f_name='DT')

DT 爲sfo/bo 面板(即 stateflow object properties面板)的name 的值

查找 stateflow 的uuid
select f_root_oid from hs_stateflow where f_name='NN'  AND hs_sfo_id='SS'

查找 state 的uuid
select f_root_oid from hs_state where  f_stateflow_id='FF' and f_name='DD'
有一個 f_sol_uuid 字段
DD 爲 state 面板 的name 的值

查找 TRANSITION uuid
select f_root_oid from hs_transition where f_from_state_uuid='bfc99d03-2479-476e-8783-a41b2d1fd151' and f_to_state_uuid='bfc99d03-2479-476e-8783-a41b2d1fd151'
 and f_name='XX' (XX爲 transition面板 name 的值)   and f_stateflow_id='YY'

 

先記錄下,有空再驗證,完善。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章