From b56c3c0f1bc87935a8b59f6ee39f78b4796250ff Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: 星期三, 06 十一月 2024 15:01:02 +0800
Subject: [PATCH] 修改前台页面对应的后台效果,新增学习记录的自然时间差

---
 exam-system/src/main/resources/mapper/institutionaccess/ThCertMapper.xml |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/exam-system/src/main/resources/mapper/institutionaccess/ThCertMapper.xml b/exam-system/src/main/resources/mapper/institutionaccess/ThCertMapper.xml
index 23e8467..ae52354 100644
--- a/exam-system/src/main/resources/mapper/institutionaccess/ThCertMapper.xml
+++ b/exam-system/src/main/resources/mapper/institutionaccess/ThCertMapper.xml
@@ -12,14 +12,17 @@
                  and a.institution_name =#{institutionName}
             </if>
             <if test="startTime!=null and startTime!=''">
-                and a.cert_ime &gt;= #{startTime}
+                and a.cert_time &gt;= #{startTime}
             </if>
             <if test="endTime!=null and endTime!=''">
-                and a.cert_ime &lt;= #{endTime}
+                and a.cert_time &lt;= #{endTime}
             </if>
             <if test="trainOrgName!=null and trainOrgName!=''">
                 and a.train_org_name =#{trainOrgName}
             </if>
+            <if test="idcard!=null and idcard!=''">
+                and a.idcard like concat('%',#{idcard},'%')
+            </if>
         </where>
         order by a.create_time desc
     </select>

--
Gitblit v1.9.2