无关风月
2024-07-24 f6fe09539d37e44b199d6c1d09798088209d6d72
cloud-server-course/src/main/resources/mapper/TCoursePackagePaymentMapper.xml
@@ -183,6 +183,12 @@
                    #{item}
                </foreach>
            </if>
        <if test="null != packageIds">
                and coursePackageId in
                <foreach collection="packageIds" item="item" index="index" open="(" separator="," close=")">
                    #{item}
                </foreach>
            </if>
            <if test="null != start and '' != start and null != end and '' != end">
                and DATE_FORMAT(classDate, '%Y-%m-%d') between #{start} and #{end}
            </if>