xuhy
2025-01-14 ae69d718d0b417974dafbe2ce98a429a89101152
修改
1个文件已修改
4 ■■■■ 已修改文件
ruoyi-service/ruoyi-other/src/main/resources/mapper/other/GoodsMapper.xml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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>