From 8fe046facef85567f44b0d1aaf5164afbda30fe1 Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期三, 10 九月 2025 11:08:04 +0800 Subject: [PATCH] 添加优惠券限制单个商品使用逻辑 --- framework/src/main/resources/mapper/lmk/VideoMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/src/main/resources/mapper/lmk/VideoMapper.xml b/framework/src/main/resources/mapper/lmk/VideoMapper.xml index 58a6600..b6dc81b 100644 --- a/framework/src/main/resources/mapper/lmk/VideoMapper.xml +++ b/framework/src/main/resources/mapper/lmk/VideoMapper.xml @@ -300,7 +300,7 @@ LV.delete_flag = 0 AND LV.STATUS = '1' AND LV.video_type = #{query.videoType} - AND lm.id IS NOT NULL + AND LM.id IS NOT NULL UNION ALL SELECT LV.author_id, @@ -334,7 +334,7 @@ LV.delete_flag = 0 AND LV.STATUS = '1' AND LV.video_type = #{query.videoType} - AND lm.id IS NOT NULL + AND LM.id IS NOT NULL ORDER BY create_time DESC </select> -- Gitblit v1.8.0