From b00a9f2ac6c8912097e8563598f8771665d6c6be Mon Sep 17 00:00:00 2001 From: jjLv <1981429112@qq.com> Date: Tue, 17 Jun 2025 14:31:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=8C=E5=B1=8F=E6=9C=BA--=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E4=BA=BA=E8=84=B8=E6=9F=A5=E8=AF=A2=E5=92=8C=E4=BA=BA=E5=91=98?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/android/FaceMapper.xml | 1 + .../src/main/resources/mapper/android/UserMapper.xml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/android/FaceMapper.xml b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/android/FaceMapper.xml index a04cf40..4c4c042 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/android/FaceMapper.xml +++ b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/android/FaceMapper.xml @@ -11,6 +11,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" face_state from user_face + and face_state = '1' and user_id = #{userId} diff --git a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/android/UserMapper.xml b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/android/UserMapper.xml index 5ad449c..c53a42b 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/android/UserMapper.xml +++ b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/android/UserMapper.xml @@ -16,7 +16,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" from sys_user su left join account_card ac on ac.user_id = su.user_id left join account_info ai on ai.user_id = su.user_id - where ai.del_flag = '0' + where ai.del_flag = '0' and su.status = '0' AND su.user_id = #{userId}