|
|
|
@ -819,7 +819,7 @@ |
|
|
|
a.review |
|
|
|
FROM plm_request_header as c |
|
|
|
left join plm_request_node as b on c.site = b.site and c.bu = b.bu and c.classification_no = b.classification_no |
|
|
|
LEFT JOIN plm_request_node_detail as a on a.classification_no = b.classification_no and a.node_id = b.node_id |
|
|
|
LEFT JOIN plm_request_node_detail as a on a.site = b.site and a.classification_no = b.classification_no and a.node_id = b.node_id |
|
|
|
WHERE b.site = #{site} and b.workflow_id = #{workflowId} and c.menu_id = #{menuId} |
|
|
|
and b.node_id = (select top 1 node_id from plm_request_node where site = #{site} and workflow_id = #{workflowId} order by seq_no) |
|
|
|
</select> |
|
|
|
|