From cc82eea09e23e19f62fae264622ea27accf05f0e Mon Sep 17 00:00:00 2001 From: syruan <15555146157@163.com> Date: Wed, 20 Aug 2025 16:05:18 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=80=E6=96=99=E6=9F=A5=E8=AF=A2=E5=8D=8F?= =?UTF-8?q?=E8=AE=AE=E5=A2=9E=E5=8A=A0is=5Fslt=3D0=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mapper/material/back/BackApplyInfoMapper.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bonus-modules/bonus-material/src/main/resources/mapper/material/back/BackApplyInfoMapper.xml b/bonus-modules/bonus-material/src/main/resources/mapper/material/back/BackApplyInfoMapper.xml index 1e5c323d..00bea7f6 100644 --- a/bonus-modules/bonus-material/src/main/resources/mapper/material/back/BackApplyInfoMapper.xml +++ b/bonus-modules/bonus-material/src/main/resources/mapper/material/back/BackApplyInfoMapper.xml @@ -356,7 +356,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" AND bp.del_flag = '0' LEFT JOIN bm_unit bu on bu.unit_id = ba.unit_id AND bu.del_flag = '0' - WHERE sai.`status`=0 and mm.ma_status = '2' + WHERE sai.`status`= 0 + and sai.is_slt = '0' + and mm.ma_status = '2' and mtr.user_id = #{userId} and mm.ma_code = #{maCode} AND ba.unit_id = #{unitId} @@ -450,7 +452,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" LEFT JOIN bm_unit bu on bu.unit_id = ba.unit_id AND bu.del_flag = '0' WHERE - sai.`status`=0 and mm.qr_code = #{qrCode} + sai.`status`= 0 and mm.qr_code = #{qrCode} and sai.is_slt = '0' and mtr.user_id = #{userId} AND ba.unit_id = #{unitId}