From b1158d0bb5b453f0b8e5df143de92ee08d1e9048 Mon Sep 17 00:00:00 2001
From: 935090232@qq.com <ak473600000>
Date: Wed, 27 Oct 2021 16:12:23 +0800
Subject: [PATCH] 修改赠送金额购买项目没打折的情况

---
 zq-erp/src/main/resources/mybatis/mapper/hive/SysOrderDao.xml |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/zq-erp/src/main/resources/mybatis/mapper/hive/SysOrderDao.xml b/zq-erp/src/main/resources/mybatis/mapper/hive/SysOrderDao.xml
index 7bdfec4..a9ba0be 100644
--- a/zq-erp/src/main/resources/mybatis/mapper/hive/SysOrderDao.xml
+++ b/zq-erp/src/main/resources/mybatis/mapper/hive/SysOrderDao.xml
@@ -240,10 +240,10 @@
                 and a.orderType = #{record.orderType}
             </if>
             <if test="record.beginTimeVo != null  ">
-                and a.ORDER_TIME >= #{record.beginTimeVo}
+                and a.pay_time >= #{record.beginTimeVo}
             </if>
             <if test="record.endTimeVo != null  ">
-                <![CDATA[and a.ORDER_TIME <= #{record.endTimeVo}]]>
+                <![CDATA[and a.pay_time <= #{record.endTimeVo}]]>
             </if>
 
         </if>
@@ -321,10 +321,10 @@
                 and a.SHOP_ID = #{record.shopId}
             </if>
             <if test="record.beginTimeVo != null ">
-                and a.ORDER_TIME >= #{record.beginTimeVo}
+                and a.pay_time >= #{record.beginTimeVo}
             </if>
             <if test="record.endTimeVo != null   ">
-                <![CDATA[and a.ORDER_TIME <= #{record.endTimeVo}]]>
+                <![CDATA[and a.pay_time <= #{record.endTimeVo}]]>
             </if>
         </if>
     </select>

--
Gitblit v1.9.1