From 48a031b40b23d7225899e3de0c6fb6df9bc2ee26 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期五, 13 九月 2024 17:48:32 +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