From 2030b0d41c23a616e727605f95cdf62cde701ee7 Mon Sep 17 00:00:00 2001 From: csyue <1203338439@qq.com> Date: Wed, 19 Jun 2024 13:51:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8C=E7=BB=B4=E7=A0=81=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E9=80=80=E6=96=99?= 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 05ad3d56..5389b7a6 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 @@ -827,11 +827,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}