|
|
@ -187,7 +187,8 @@ |
|
|
SELECT |
|
|
SELECT |
|
|
a.document_type_id, |
|
|
a.document_type_id, |
|
|
a.document_type, |
|
|
a.document_type, |
|
|
(SELECT role_desc FROM business_role WHERE role_no = a.responsible_department) AS responsible_department, |
|
|
|
|
|
|
|
|
(SELECT role_desc FROM business_role WHERE role_no = a.responsible_department and site = #{query.site}) AS |
|
|
|
|
|
responsible_department, |
|
|
a.estimated_completion_days |
|
|
a.estimated_completion_days |
|
|
FROM document_type_definition as a |
|
|
FROM document_type_definition as a |
|
|
where |
|
|
where |
|
|
|