44323
2023-11-02 c697ed09cb1e257bc54603213b304e0f156326a6
cloud-server-course/src/main/resources/mapper/TCoursePackageMapper.xml
@@ -79,8 +79,11 @@
        <if test="null != item.coursePackageTypeId">
            and a.coursePackageTypeId = #{item.coursePackageTypeId}
        </if>
        <if test="null != item.storeId">
            and a.storeId = #{item.storeId}
        <if test="item.storeIds != null and item.storeIds.size()>0">
            AND a.storeId IN
            <foreach collection="item.storeIds" separator="," item="id" open="(" close=")">
                #{id}
            </foreach>
        </if>
        <if test="null != item.name and '' != item.name">
            and a.name line CONCAT('%', #{item.name}, '%')