|
|
|
@ -55,6 +55,7 @@ |
|
|
|
d.is_reject, |
|
|
|
d.node_id, |
|
|
|
d.node_name, |
|
|
|
dbo.plm_get_user_display(a.site, d.create_by) as node_create_by, |
|
|
|
vpp.bu_no, |
|
|
|
b.bu_desc |
|
|
|
FROM plm_test_information as a |
|
|
|
@ -174,12 +175,18 @@ |
|
|
|
pti.print_type, |
|
|
|
pti.product_name, |
|
|
|
pcpi.customer_part_no, |
|
|
|
vpp.final_part_no |
|
|
|
vpp.final_part_no, |
|
|
|
d.node_name, |
|
|
|
dbo.plm_get_user_display(pti.site, d.create_by) as node_create_by |
|
|
|
FROM plm_test_information pti |
|
|
|
left join view_Project_Part vpp on pti.site = vpp.site and pti.test_part_no = vpp.test_part_no and |
|
|
|
pti.project_id = vpp.project_id |
|
|
|
left join plm_customer_part_info pcpi on pti.site = pcpi.site and pti.test_part_no = pcpi.part_no and |
|
|
|
pti.customer_no = pcpi.customer_no |
|
|
|
left join plm_request_header as prh on pti.site = prh.site and prh.menu_id = #{menuId} |
|
|
|
left join plm_request_node as d |
|
|
|
on pti.site = d.site and prh.classification_no = d.classification_no and |
|
|
|
prh.workflow_id = d.workflow_id and pti.step_id = d.step_id |
|
|
|
<where> |
|
|
|
and pti.site = #{site} |
|
|
|
<if test="projectId != null and projectId != ''"> |
|
|
|
|