java
2023-06-29 38209c2eceafc11e6d0f3b63a61e91d8d4a642a6
cloud-server-competition/src/main/resources/mapper/UserCompetitionMapper.xml
@@ -30,6 +30,9 @@
            #{item}
        </foreach>
        </if>
        <if test="startTime != null and endTime != null">
            and (insertTime between #{startTime} and #{endTime})
        </if>
    </select>
</mapper>