From db86411bb09d9a3450d14a91125adb26a53cc191 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期三, 21 八月 2024 17:50:54 +0800
Subject: [PATCH] 合同在线率 打分

---
 ycl-server/src/main/resources/mapper/zgyw/TContractMapper.xml |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ycl-server/src/main/resources/mapper/zgyw/TContractMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/TContractMapper.xml
index 7c796e6..b2ff105 100644
--- a/ycl-server/src/main/resources/mapper/zgyw/TContractMapper.xml
+++ b/ycl-server/src/main/resources/mapper/zgyw/TContractMapper.xml
@@ -41,12 +41,12 @@
         from t_contract tc
         left join t_calculate_rule tcr on tc.id = tcr.contract_id
         <where>
-            tc.deleted =0 and #{time} between tc.start_time and tc.end_time
+            tc.deleted =0 and #{date} between tc.start_time and tc.end_time
             <if test="ruleName !=null and ruleName!=''">
-                tcr.rule_name = #{ruleName}
+                and tcr.rule_name = #{ruleName}
             </if>
             <if test="ruleCondition !=null and ruleCondition!=''">
-                tcr.rule_condition = #{ruleCondition}
+                and tcr.rule_condition = #{ruleCondition}
             </if>
         </where>
 

--
Gitblit v1.8.0