From 9230c17bf226582a0d1637b92b6504e20e8c6af5 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期二, 23 七月 2024 16:47:52 +0800
Subject: [PATCH] 人脸阈值检测,检测代码优化
---
ycl-server/src/main/resources/mapper/zgyw/ReportMapper.xml | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/ycl-server/src/main/resources/mapper/zgyw/ReportMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/ReportMapper.xml
index d6d1b62..a6bac16 100644
--- a/ycl-server/src/main/resources/mapper/zgyw/ReportMapper.xml
+++ b/ycl-server/src/main/resources/mapper/zgyw/ReportMapper.xml
@@ -21,11 +21,11 @@
r.*, u.unit_name, p.yw_person_name as peopleName, pt.point_name
FROM
t_report r
- LEFT JOIN t_yw_unit u ON r.unit_id = u.id and u.deleted = '0'
- LEFT JOIN t_yw_people p ON r.people_id = p.id and p.deleted = '0'
- LEFT JOIN t_yw_point pt ON r.point_id = pt.id and pt.deleted = '0'
+ LEFT JOIN t_yw_unit u ON r.unit_id = u.id and u.deleted = 0
+ LEFT JOIN t_yw_people p ON r.people_id = p.id and p.deleted = 0
+ LEFT JOIN t_yw_point pt ON r.point_id = pt.id and pt.deleted = 0
where
- r.deleted = '0'
+ r.deleted = 0
<if test="query.reportType != null and query.reportType != ''">
AND r.report_type = #{query.reportType}
</if>
--
Gitblit v1.8.0