From e4e87bb3efb4bc1fba79a78bbbfda079ba6fc5bb Mon Sep 17 00:00:00 2001 From: jiayang yue Date: Wed, 2 Apr 2025 12:55:57 +0800 Subject: [PATCH] =?UTF-8?q?2025.04.02=20=E6=96=87=E6=A1=A3=E6=94=B6?= =?UTF-8?q?=E9=9B=86=E7=B3=BB=E7=BB=9F=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/mapper/pms/ProofingInformationMapper.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/resources/mapper/pms/ProofingInformationMapper.xml b/src/main/resources/mapper/pms/ProofingInformationMapper.xml index 243da40b..a56a8fb4 100644 --- a/src/main/resources/mapper/pms/ProofingInformationMapper.xml +++ b/src/main/resources/mapper/pms/ProofingInformationMapper.xml @@ -187,7 +187,8 @@ SELECT a.document_type_id, 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 FROM document_type_definition as a where