From b42853b71e0f9dcebe7c79cb3a2648d0f82dd6a7 Mon Sep 17 00:00:00 2001 From: "han\\hanst" Date: Fri, 24 Jul 2026 14:13:49 +0800 Subject: [PATCH] site --- src/main/resources/mapper/pms/EamMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/mapper/pms/EamMapper.xml b/src/main/resources/mapper/pms/EamMapper.xml index 357ccc5f..6412094c 100644 --- a/src/main/resources/mapper/pms/EamMapper.xml +++ b/src/main/resources/mapper/pms/EamMapper.xml @@ -3827,7 +3827,7 @@ d.role_desc FROM bu_document_list_definition as a LEFT JOIN bu as b on a.site = b.site and a.bu_no = b.bu_no - LEFT JOIN document_type_definition as c on a.document_type_id = c.document_type_id + LEFT JOIN document_type_definition as c on a.document_type_id = c.document_type_id and c.site=a.site LEFT JOIN business_role as d on a.site = d.site and c.responsible_department = d.role_no WHERE a.site in (select site from eam_access_site where username = #{query.userName})