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