src/main/resources/mapper/modules/PlatformBannerMapper.xml
@@ -7,7 +7,14 @@ * FROM platform_banner order by created_time desc <where> <if test="record != null" > <if test="record.type!=null and record.type!=0"> and type = #{record.type} </if> </if> </where> order by sort desc </select> </mapper>