From 92200848f00a9a8743cb3f4bb4990bfc4a6191af Mon Sep 17 00:00:00 2001 From: csyue <1203338439@qq.com> Date: Wed, 19 Jun 2024 14:42:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8C=E7=BB=B4=E7=A0=81=E9=80=80=E6=96=99?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/app/BackReceiveMapper.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sgzb-modules/sgzb-base/src/main/resources/mapper/app/BackReceiveMapper.xml b/sgzb-modules/sgzb-base/src/main/resources/mapper/app/BackReceiveMapper.xml index c4dd9005..6aaba5b6 100644 --- a/sgzb-modules/sgzb-base/src/main/resources/mapper/app/BackReceiveMapper.xml +++ b/sgzb-modules/sgzb-base/src/main/resources/mapper/app/BackReceiveMapper.xml @@ -787,11 +787,12 @@ sd.id as sdId FROM ma_machine mm + LEFT JOIN slt_agreement_info sai on mm.type_id = sai.type_id and mm.ma_id = sai.ma_id LEFT JOIN ma_type mt on mt.type_id=mm.type_id LEFT JOIN ma_type mt2 on mt2.type_id=mt.parent_id LEFT JOIN sys_dic sd on mm.ma_status=sd.id WHERE - qr_code =#{qrCode} + mm.qr_code =#{qrCode} and sai.agreement_id = #{agreementId}