From f24cafc21ec67be8665c186f2d4cd0d37f231648 Mon Sep 17 00:00:00 2001 From: syruan <1555146157@163.com> Date: Sun, 24 Dec 2023 12:41:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=80=BB=E8=BE=91=E5=88=A4?= =?UTF-8?q?=E6=96=AD=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/app/LeaseOutDetailsMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sgzb-modules/sgzb-base/src/main/resources/mapper/app/LeaseOutDetailsMapper.xml b/sgzb-modules/sgzb-base/src/main/resources/mapper/app/LeaseOutDetailsMapper.xml index b5847b39..6650ba71 100644 --- a/sgzb-modules/sgzb-base/src/main/resources/mapper/app/LeaseOutDetailsMapper.xml +++ b/sgzb-modules/sgzb-base/src/main/resources/mapper/app/LeaseOutDetailsMapper.xml @@ -19,7 +19,7 @@ UPDATE lease_apply_details SET - al_num = al_num + #{record.outNum}, + al_num = IF(al_num IS NULL, #{record.outNum}, al_num + #{record.outNum}), update_by = #{record.updateBy},