From 7e05258631250f8510b50fab88a9336790b693ea Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Mon, 04 Dec 2023 17:34:46 +0800
Subject: [PATCH] 不查询已删除数据
---
src/main/java/org/springblade/modules/simulateexam/mapper/SimulateExamRecordMapper.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/main/java/org/springblade/modules/simulateexam/mapper/SimulateExamRecordMapper.xml b/src/main/java/org/springblade/modules/simulateexam/mapper/SimulateExamRecordMapper.xml
index 56339eb..41d3570 100644
--- a/src/main/java/org/springblade/modules/simulateexam/mapper/SimulateExamRecordMapper.xml
+++ b/src/main/java/org/springblade/modules/simulateexam/mapper/SimulateExamRecordMapper.xml
@@ -13,7 +13,7 @@
LEFT JOIN blade_user bu ON bu.phone = ser.phone
LEFT JOIN blade_dept bd ON bd.id = bu.dept_id
WHERE
- 1 = 1
+ bu.is_deleted = 0
AND ser.phone IS NOT NULL
AND ser.phone != ""
<if test="simulateExamRecord.phone != null and simulateExamRecord.phone != ''" >
--
Gitblit v1.9.3