| | |
| | | " FROM com_act_activity where community_id=#{communityId} AND (status = 3 OR status = 4 OR status = 5)") |
| | | Map<String, Long> countByCommunityId(@Param("communityId")Long communityId,@Param("nowDate")String nowDate); |
| | | |
| | | @Select("SELECT activity_name as content,IF(volunteer_max = 0,'居民活动','志愿者活动') AS typeName FROM com_act_activity " + |
| | | @Select("SELECT id,activity_name as content,IF(volunteer_max = 0,'居民活动','志愿者活动') AS typeName FROM com_act_activity " + |
| | | "WHERE community_id = #{communityId} AND (status = 3 OR status = 4 OR status = 5) ORDER BY create_at DESC LIMIT #{pageSize}") |
| | | List<CarouselInfoVO> screenActivity(@Param("communityId")Long communityId, @Param("pageSize")Integer pageSize); |
| | | |
| | | @Select("SELECT cover FROM com_act_activity WHERE community_id = #{communityId}") |
| | | List<String> listImg(@Param("communityId")Long communityId); |
| | | } |