lidongdong
2024-04-01 327b8dd5308fb9865f80ef1b974a7333ec833f3b
修改活动交流详情的评论列表没数据  数据不全5
1个文件已修改
6 ■■■■■ 已修改文件
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComActNeighborCircleCommentWestDOMapper.xml 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComActNeighborCircleCommentWestDOMapper.xml
@@ -8,12 +8,14 @@
        select * FROM (
        select cancc.id,cancc.circle_id,cancc.user_id,cancc.content,cancc.fabulous_num
        cancc.create_at,cancc.is_release,su.nick_name as userName,su.image_url as userHeadUrl
        from com_act_neighbor_circle_comment as cancc " + " left join sys_user as su on su.user_id = cancc.user_id
        from com_act_neighbor_circle_comment as cancc
        left join sys_user as su on su.user_id = cancc.user_id
        where cancc.circle_id = #{neighborCircleAppDTO.circleId} and cancc.status = 1
        union
        select cancc.id,cancc.circle_id,cancc.user_id,cancc.content,cancc.fabulous_num
        ,cancc.create_at,cancc.is_release,su.nick_name as userName,su.image_url as userHeadUrl
        from com_act_neighbor_circle_comment_west as cancc " + " left join sys_user as su on su.user_id = cancc.user_id
        from com_act_neighbor_circle_comment_west as cancc
         left join sys_user as su on su.user_id = cancc.user_id
        where cancc.circle_id = #{neighborCircleAppDTO.circleId} and cancc.status = 1) temp
        <if test='neighborCircleAppDTO.order != null and neighborCircleAppDTO.order == 1'>
            order by temp.create_at desc