From 5ac70a5ea1f5bc1ac69db7619f1af33cab56ccfe Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Wed, 5 Mar 2025 16:44:12 +0800 Subject: [PATCH] =?UTF-8?q?2025-03-05=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/change/ChangeManagementMapper.xml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/src/main/resources/mapper/change/ChangeManagementMapper.xml b/src/main/resources/mapper/change/ChangeManagementMapper.xml index 9fc58cca..3527b0ad 100644 --- a/src/main/resources/mapper/change/ChangeManagementMapper.xml +++ b/src/main/resources/mapper/change/ChangeManagementMapper.xml @@ -1043,12 +1043,21 @@ + + + + + + + - update plm_process_form - set is_remark = 1, - update_date = getDate(), - update_by = #{userName} - where site = #{site} and document_no = #{docNo} and is_remark = 0 + update a + set A.is_remark = 1, + A.update_date = getDate(), + A.update_by = #{userName} + from plm_process_form a + left join sys_user b on a.domain_control_account = B.domain_control_account + where A.site = #{site} and document_no = #{docNo} and is_remark = 0 AND B.username = #{userName}