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/ContractResultMapper.xml | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ycl-server/src/main/resources/mapper/zgyw/ContractResultMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/ContractResultMapper.xml
index 9ff0965..5d46ac7 100644
--- a/ycl-server/src/main/resources/mapper/zgyw/ContractResultMapper.xml
+++ b/ycl-server/src/main/resources/mapper/zgyw/ContractResultMapper.xml
@@ -9,11 +9,11 @@
ct.name AS contractName
FROM t_contract_result c
LEFT JOIN
- t_yw_unit u ON c.unit_id = u.id and u.deleted = '0'
+ t_yw_unit u ON c.unit_id = u.id and u.deleted = 0
LEFT JOIN
- t_contract ct ON c.contract_id = ct.id and ct.deleted = '0'
+ t_contract ct ON c.contract_id = ct.id and ct.deleted = 0
where
- c.deleted = '0'
+ c.deleted = 0
<if test="unitId != null">
AND c.unit_id = #{unitId}
</if>
--
Gitblit v1.8.0