From ce38d65c969f9171dac2a618559566fc9aee3fa9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=AE=99=E7=9A=AE=E7=9A=AE=E5=A8=83?= <2964346877@qq.com> Date: Tue, 7 May 2024 11:22:23 +0800 Subject: [PATCH] =?UTF-8?q?sql=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/mapper/TBasicMapper.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/resources/mapper/TBasicMapper.xml b/src/main/resources/mapper/TBasicMapper.xml index 18b7a9d..fa87137 100644 --- a/src/main/resources/mapper/TBasicMapper.xml +++ b/src/main/resources/mapper/TBasicMapper.xml @@ -104,7 +104,9 @@ `is_other`=#{tBasic.isOther}, b_column5=CONCAT(inpatient_no,'_',admiss_times), - `dis_date`=#{tBasic.disDate}, + + `dis_date`=#{tBasic.disDate}, + `update_time`=now() WHERE `patient_id`=#{tBasic.patientId,jdbcType=VARCHAR};