puzhibing
2024-03-12 b28d69f6cba1a7aed03fd9c07a14693281f9a9a0
cloud-server-communityWorldCup/src/main/resources/mapper/WorldCupCompetitorMapper.xml
@@ -13,7 +13,7 @@
            participantId,
            count(*) as num
            from t_world_cup_competitor
            where DATE_FORMAT(NOW(), '%Y-%m-%d') = DATE_FORMAT(startTime, '%Y-%m-%d')
            where DATE_FORMAT(NOW(), '%Y') = DATE_FORMAT(startTime, '%Y')
            <if test="null != appUserIds and appUserIds.size() > 0">
                and appUserId in
                <foreach collection="appUserIds" item="item" index="index" open="(" separator="," close=")">