From 6254aca8f1ad7c36b0c9875f99b195dda6edc92f Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期五, 05 一月 2024 08:10:01 +0800
Subject: [PATCH] #

---
 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