Administrator
2025-05-09 286c0308534688baf50d93c1fc8c2f372912bd40
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>