From f381f2eec85c55db7747763665579a85b7e4f00a Mon Sep 17 00:00:00 2001
From: 935090232@qq.com <ak473600000>
Date: Tue, 23 Mar 2021 22:59:01 +0800
Subject: [PATCH] 扣除用户积分

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

diff --git a/zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopProductCommentDao.xml b/zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopProductCommentDao.xml
index c32a212..9935dd4 100644
--- a/zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopProductCommentDao.xml
+++ b/zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopProductCommentDao.xml
@@ -104,7 +104,7 @@
 			</if>
 
 			 <if test="record.companyId != null and record.companyId !='' ">
-				 and company_id = #{record.companyId}
+				 and c.company_id = #{record.companyId}
 			 </if>
 
 			<if test="(record.comContent!=null and record.comContent!='') or  (record.comContent!='' and record.comContent==0)  ">
@@ -455,6 +455,7 @@
 					and c.product_id = #{record.productId}
 				</if>
 			</if>
+		    and c.com_audit_status=1
 			AND p.del_flag = 2
 			AND o.del_flag = 2
 			AND c.del_flag = 2

--
Gitblit v1.9.1