From 23371d4f9dfac4da21af91b58b1e137228eb2bb7 Mon Sep 17 00:00:00 2001 From: zhangchao Date: Wed, 4 Sep 2024 09:17:11 +0800 Subject: [PATCH] =?UTF-8?q?#fix=EF=BC=9A=E4=BC=98=E5=8C=96=E5=8C=BB?= =?UTF-8?q?=E5=BF=83=E7=85=A7=E6=8A=A4=E8=AE=A2=E5=8D=95=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- talkonlineweb/src/main/resources/mapper/LymsOrderMapper.xml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/talkonlineweb/src/main/resources/mapper/LymsOrderMapper.xml b/talkonlineweb/src/main/resources/mapper/LymsOrderMapper.xml index 84ca5f8..b4d036a 100644 --- a/talkonlineweb/src/main/resources/mapper/LymsOrderMapper.xml +++ b/talkonlineweb/src/main/resources/mapper/LymsOrderMapper.xml @@ -43,15 +43,21 @@ goods.name as goodName, o.refund_status as refundStatus, o.cnt, + h.doctor, + o.pcid from lyms_patient p, lyms_order o , - lyms_his_info h, + + lyms_his_info h, + lyms_goods goods where p.id = o.pid and o.gid = goods.id - and p.idno = h.idCard + + and p.idno = h.idCard + and o.status = 1 and (p.pname = #{orderRequest.key} or p.enrolment_phone = #{orderRequest.key} or p.idno= #{orderRequest.key}) -- 1.8.3.1