From 83e572c8b78790f8988a2fd72902912ffbbaa166 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Sat, 16 Jan 2021 15:30:16 +0800
Subject: [PATCH] modify

---
 zq-erp/src/main/resources/mybatis/mapper/hive/SysOrderDao.xml |    6 ++++++
 1 files changed, 6 insertions(+), 0 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 e3d0334..cc0a4e3 100644
--- a/zq-erp/src/main/resources/mybatis/mapper/hive/SysOrderDao.xml
+++ b/zq-erp/src/main/resources/mybatis/mapper/hive/SysOrderDao.xml
@@ -504,6 +504,9 @@
             <if test="record.shopId != null">
                 and a.shop_id=#{record.shopId}
             </if>
+            <if test="record.companyId != null">
+                and a.company_id=#{record.companyId}
+            </if>
         </where>
         <if test="pageVo !=null"><!-- 判断pageVo对象是否为空 -->
             order by a.order_time desc
@@ -530,6 +533,9 @@
             <if test="record.shopId != null">
                 and a.shop_id=#{record.shopId}
             </if>
+            <if test="record.companyId != null">
+                and a.company_id=#{record.companyId}
+            </if>
         </where>
     </select>
 

--
Gitblit v1.9.1