From ae69d718d0b417974dafbe2ce98a429a89101152 Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期二, 14 一月 2025 15:18:50 +0800
Subject: [PATCH] 修改
---
ruoyi-service/ruoyi-other/src/main/resources/mapper/other/GoodsMapper.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ruoyi-service/ruoyi-other/src/main/resources/mapper/other/GoodsMapper.xml b/ruoyi-service/ruoyi-other/src/main/resources/mapper/other/GoodsMapper.xml
index 762d52f..a7b80d8 100644
--- a/ruoyi-service/ruoyi-other/src/main/resources/mapper/other/GoodsMapper.xml
+++ b/ruoyi-service/ruoyi-other/src/main/resources/mapper/other/GoodsMapper.xml
@@ -47,13 +47,13 @@
</if>
<if test="goods.payMethod != null and goods.payMethod == 1 ">
- and tg.`cashPayment` = 1
+ and tg.`cash_payment` = 1
</if>
<if test="goods.payMethod != null and goods.payMethod == 2 ">
and tg.`point_payment` = 1
</if>
<if test="goods.payMethod != null and goods.payMethod == 3 ">
- and (tg.`point_payment` = 1 or tg.`cashPayment` = 1 )
+ and (tg.`point_payment` = 1 and tg.`cash_payment` = 1 )
</if>
</where>
--
Gitblit v1.7.1