lidongdong
2024-09-06 5c3404ea9c735e73e682d9d306d301846005aa2d
花城 修改双报道个人服务统计时常次数不正确2
1个文件已修改
3 ■■■■ 已修改文件
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComActNeighborCircleDOMapper.xml 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComActNeighborCircleDOMapper.xml
@@ -449,7 +449,7 @@
            LEFT JOIN sys_user su ON su.user_id = s.user_id
            WHERE
            s.end_time IS NOT NULL
            AND a.check_unit_id IS NOT NULL
            AND a.check_unit_id IS NULL
            AND su.phone = #{phone}
            AND s.start_time BETWEEN concat( #{date}, '-01-01 00:00:00' )
            AND concat( #{date}, '-12-31 23:59:59' )
@@ -598,6 +598,7 @@
                    and publish_at between concat(#{date},'-01-01 00:00:00') and concat(#{date},'-12-31 23:59:59')
                    and caas.start_time IS NOT NULL
                    and caas.end_time IS NOT NULL
                    and caas.check_unit_id IS NULL
                group by caa.id)
            <if test="checkUnitId != null and checkUnitId!='' ">