From a13a93a493e7e94e28b2225c26e7e13b52d3288c Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Mon, 12 Apr 2021 19:48:45 +0800 Subject: [PATCH] 20210412 tqq环境 --- zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopProductCommentDao.xml | 13 +++++++------ 1 files changed, 7 insertions(+), 6 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..fe87fd2 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) "> @@ -318,7 +318,7 @@ shop_product_comment c LEFT JOIN shop_product p ON c.product_id = p.id LEFT JOIN shop_order o ON c.order_id = o.id - LEFT JOIN biz_user b ON c.user_id = b.open_id + LEFT JOIN sys_vip_info b ON c.user_id = b.id <where> <include refid="where_sql"></include> </where> @@ -338,7 +338,7 @@ shop_product_comment c LEFT JOIN shop_product p ON c.product_id = p.id LEFT JOIN shop_order o ON c.order_id = o.id - LEFT JOIN biz_user b ON c.user_id = b.open_id + LEFT JOIN sys_vip_info b ON c.user_id = b.id <where> <include refid="where_sql"></include> </where> @@ -379,7 +379,7 @@ shop_product_comment c LEFT JOIN shop_product p ON c.product_id = p.id LEFT JOIN shop_order o ON c.order_id = o.id - LEFT JOIN biz_user b ON c.user_id = b.open_id + LEFT JOIN sys_vip_info b ON c.user_id = b.id <where> <if test="record!=null"> <if test="(record.userId!=null and record.userId!='') or (record.userId!='' and record.userId==0) "> @@ -425,7 +425,7 @@ shop_product_comment c LEFT JOIN shop_product p ON c.product_id = p.id LEFT JOIN shop_order o ON c.order_id = o.id - LEFT JOIN biz_user b ON c.user_id = b.open_id + LEFT JOIN sys_vip_info b ON c.user_id = b.id <where> and c.product_id = #{record.productId} AND p.del_flag = 2 @@ -448,13 +448,14 @@ shop_product_comment c LEFT JOIN shop_product p ON c.product_id = p.id LEFT JOIN shop_order o ON c.order_id = o.id - LEFT JOIN biz_user b ON c.user_id = b.open_id + LEFT JOIN sys_vip_info b ON c.user_id = b.id <where> <if test="record!=null"> <if test="(record.productId!=null and record.productId!='') or (record.productId!='' and record.productId==0) "> 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