From fd658508f4470f0c479b2a36738b0f50481cbbe9 Mon Sep 17 00:00:00 2001 From: 44323 <443237572@qq.com> Date: 星期六, 16 九月 2023 10:59:09 +0800 Subject: [PATCH] 后台代码 --- cloud-server-course/src/main/resources/mapper/TCoursePackageDiscountMapper.xml | 38 -------------------------------------- 1 files changed, 0 insertions(+), 38 deletions(-) diff --git a/cloud-server-course/src/main/resources/mapper/TCoursePackageDiscountMapper.xml b/cloud-server-course/src/main/resources/mapper/TCoursePackageDiscountMapper.xml index 4f085f6..95fc2a7 100644 --- a/cloud-server-course/src/main/resources/mapper/TCoursePackageDiscountMapper.xml +++ b/cloud-server-course/src/main/resources/mapper/TCoursePackageDiscountMapper.xml @@ -14,43 +14,5 @@ <result column="auditRemark" property="auditRemark" /> <result column="insertTime" property="insertTime" /> </resultMap> - <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> - <if test="pCode !=null and pCode !=''"> - and t2.provinceCode =#{pCode} - </if> - <if test="cCode !=null and cCode !=''"> - and t2.cityCode =#{cCode} - </if> - <if test="name !=null and name !=''"> - and t2.name like concat("%",#{name},"%") - </if> - <if test="type !=null "> - and t1.type =#{type} - </if> - group by t1.coursePackageId - </select> - <select id="queryDiscountListAudit" resultType="com.dsh.course.model.DiscountList"> - select t1.id,t1.type,t1.auditStatus 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> - <if test="pCode !=null and pCode !=''"> - and t2.provinceCode =#{pCode} - </if> - <if test="cCode !=null and cCode !=''"> - and t2.cityCode =#{cCode} - </if> - <if test="name !=null and name !=''"> - and t2.name like concat("%",#{name},"%") - </if> - <if test="type !=null "> - and t1.type =#{type} - </if> - group by t1.coursePackageId - </select> </mapper> -- Gitblit v1.7.1