From 404aa39464dabc018b2f2e11f6dd1280dc6fb796 Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期三, 03 九月 2025 13:09:47 +0800
Subject: [PATCH] 许可证到期提醒,系统30分钟无操作下线账号

---
 src/main/resources/mapper/AppVersionMapper.xml |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/src/main/resources/mapper/AppVersionMapper.xml b/src/main/resources/mapper/AppVersionMapper.xml
index 25e5b06..7d77cd6 100644
--- a/src/main/resources/mapper/AppVersionMapper.xml
+++ b/src/main/resources/mapper/AppVersionMapper.xml
@@ -14,10 +14,7 @@
 
     <select id="getLatestApp" resultMap="BaseResultMap">
         select top 1 * from asr_app_version
-        where 1 = 1
-        <if test="type != null || type != ''">
-            type = #{type} and latest = 1
-        </if>
+        where type = #{type} and latest = 1
     </select>
 
     <update id="updateLatest">

--
Gitblit v1.9.1