| | |
| | | "select canc.id,su.nick_name as name,su.image_url as headUrl,canc.release_content " + |
| | | ",canc.release_images,canc.comment_num,canc.fabulous_num,canc.forward_num,canc.views_num,canct.name as topicName " + |
| | | ",canc.is_boutique,canc.create_at,canc.reply_at,su.community_id,canc.type from com_act_neighbor_circle as canc " + |
| | | " left join sys_user as su on su.user_id = canc.release_id where id = #{circleId} "+ |
| | | " left join com_act_neighbor_circle_topic as canct on canct.id = canc.topic_id" + |
| | | " left join sys_user as su on su.user_id = canc.release_id "+ |
| | | " left join com_act_neighbor_circle_topic as canct on canct.id = canc.topic_id where canc.id = #{circleId}" + |
| | | " </script>") |
| | | ComActNeighborCircleDetailAppVO neighborDetailByApp(@Param("circleId") Long circleId); |
| | | @Select("<script> \n"+ |
| | |
| | | "<if test='neighborCircleAdminDTO.releaseContent != null and neighborCircleAdminDTO.releaseContent != ""'>" + |
| | | "and nc.release_content like concat('%',#{neighborCircleAdminDTO.releaseContent},'%') \n" + |
| | | " </if> " + |
| | | "<if test='neighborCircleAdminDTO.topicName != null and neighborCircleAdminDTO.topicName != ""'>" + |
| | | "and canct.`name` = #{neighborCircleAdminDTO.topicName} " + |
| | | " </if> " + |
| | | "<if test='neighborCircleAdminDTO.startAt != null and neighborCircleAdminDTO.endAt !=null '>" + |
| | | "and nc.create_at between #{neighborCircleAdminDTO.startAt} and #{neighborCircleAdminDTO.endAt} \n" + |
| | | " </if> " + |