cloud-server-other/src/main/resources/mapper/BannerMapper.xml
@@ -49,14 +49,10 @@ from t_img_config where position = 6 </select> <select id="list1" resultType="com.dsh.other.entity.Banner"> select tb.id as id,tb.img as img, tt.name as page <select id="list1" resultType="com.dsh.other.model.BannerVo"> select tb.id as id,tb.img as img, tb.page as page,tb.name as name,tb.type as type,tb.typeId as turnId from t_banner tb left join t_turn tt on tb.jumpPage = tt.id where tb.position = #{position} </select> </mapper>