44323
2023-11-24 ae9bfd2d66f68a553786ac78b12f4390e65e4e09
cloud-server-course/src/main/resources/mapper/CoursePackagePaymentConfigMapper.xml
@@ -45,14 +45,17 @@
            <if test="query.coursePackageTypeName!=null and query.coursePackageTypeName!= ''">
                and t2.name like concat('%',#{query.coursePackageTypeName},'%')
            </if>
            <if test="query.payStatus!=null and query.payStatus!= ''">
                and t1.payStatus = #{query.payStatus}
            <if test="query.storeIds != null and query.storeIds.size>0">
                AND t2.storeId IN
                <foreach collection="query.storeIds" separator="," item="id" open="(" close=")">
                    #{id}
                </foreach>
            </if>
            <if test="query.payStatus!=null and query.payStatus!= ''">
                and t1.payStatus = #{query.payStatus}
            </if>
            <if test="query.ids !=null and query.ids.size >0">
                and t2.storeId in <foreach collection="query.ids" close=")" item="id" open="(" separator=",">
                and t2.id in <foreach collection="query.ids" close=")" item="id" open="(" separator=",">
                #{id}
            </foreach>
            </if>