From 639231a3d3b23d1fa7575d248a6fa1c3e8dbaea9 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Fri, 13 Aug 2021 09:53:22 +0800
Subject: [PATCH] fix houtai compnayId get fail

---
 zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopCouponDao.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopCouponDao.xml b/zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopCouponDao.xml
index 29d81f8..4e833dc 100644
--- a/zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopCouponDao.xml
+++ b/zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopCouponDao.xml
@@ -563,7 +563,7 @@
         from shop_coupon
         where
         company_id=#{companyId}
-        and now() >= begin_time and end_time >= now()
+        and kind=2 and now() >= begin_time and end_time >= now()
         and is_open = 1
         and (is_all = 1 or
         (

--
Gitblit v1.9.1