From cf6b7d7ebd13d2b6fe131112b92f5c607bebd868 Mon Sep 17 00:00:00 2001 From: 44323 <443237572@qq.com> Date: 星期三, 25 十月 2023 17:14:30 +0800 Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/java/PlayPai --- cloud-server-course/src/main/resources/mapper/TCoursePackageDiscountMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cloud-server-course/src/main/resources/mapper/TCoursePackageDiscountMapper.xml b/cloud-server-course/src/main/resources/mapper/TCoursePackageDiscountMapper.xml index 62f0c90..273ed49 100644 --- a/cloud-server-course/src/main/resources/mapper/TCoursePackageDiscountMapper.xml +++ b/cloud-server-course/src/main/resources/mapper/TCoursePackageDiscountMapper.xml @@ -18,8 +18,8 @@ <select id="queryDiscountList" resultType="com.dsh.course.model.DiscountList"> select t1.id,t1.type,t1.status,t2.province pName,t2.city cName,t2.name,t2.storeId,t2.id courseId from t_course_package_discount t1 left join t_course_package t2 on t1.coursePackageId = t2.id where t2.storeId in <foreach collection="ids" close=")" item="id" open="(" separator=","> - #{id} and t1.auditStatus =2 - </foreach> + #{id} + </foreach> and t1.auditStatus =2 <if test="pCode !=null and pCode !=''"> and t2.provinceCode =#{pCode} </if> -- Gitblit v1.7.1