From fea22e82e7e49691f6e0c20a29b228d0ab3173e9 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期三, 29 十月 2025 17:08:38 +0800
Subject: [PATCH] 修改问题
---
ycl-server/src/main/resources/mapper/zgyw/ContractScoreMapper.xml | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/ycl-server/src/main/resources/mapper/zgyw/ContractScoreMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/ContractScoreMapper.xml
index e4ca7ab..fdfb7ca 100644
--- a/ycl-server/src/main/resources/mapper/zgyw/ContractScoreMapper.xml
+++ b/ycl-server/src/main/resources/mapper/zgyw/ContractScoreMapper.xml
@@ -30,11 +30,11 @@
FROM
t_contract_score cs
LEFT JOIN
- t_yw_unit u ON cs.unit_id = u.id and u.deleted = '0'
+ t_yw_unit u ON cs.unit_id = u.id and u.deleted = 0
LEFT JOIN
- t_contract c ON cs.contract_id = c.id and c.deleted = '0'
+ t_contract c ON cs.contract_id = c.id and c.deleted = 0
where
- cs.deleted = '0'
+ cs.deleted = 0
<if test="unitId != null">
AND cs.unit_id = #{unitId}
</if>
@@ -111,4 +111,5 @@
#{id}
</foreach>
</delete>
+
</mapper>
--
Gitblit v1.8.0