jyy
2021-04-13 cb97fd90e674cf4cb882c49eed107b4bcae97aff
修改评论查询接口
1 files modified
4 ■■■■ changed files
zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopProductCommentDao.xml 4 ●●●● patch | view | raw | blame | history
zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopProductCommentDao.xml
@@ -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 sys_vip_info b ON c.user_id = b.id
            LEFT JOIN sys_vip_info b ON c.user_id = b.openid
        <where>
            and c.product_id = #{record.productId}
            AND p.del_flag = 2
@@ -448,7 +448,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 sys_vip_info b ON c.user_id = b.id
        LEFT JOIN sys_vip_info b ON c.user_id = b.openid
        <where>
            <if test="record!=null">
                <if test="(record.productId!=null and record.productId!='') or  (record.productId!='' and record.productId==0)  ">