From 73e3c40091db4d65b82d03cbe59e45d01b2064f4 Mon Sep 17 00:00:00 2001 From: 101captain <237651143@qq.com> Date: 星期四, 11 十一月 2021 17:28:05 +0800 Subject: [PATCH] 1111修改提交 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ConvenientProductMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ConvenientProductMapper.xml b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ConvenientProductMapper.xml index aa2c148..5c93e15 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ConvenientProductMapper.xml +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ConvenientProductMapper.xml @@ -78,7 +78,7 @@ FROM com_convenient_products ccp LEFT JOIN com_convenient_merchants ccm ON ccp.merchant_id = ccm.id INNER JOIN com_convenient_product_specifications ccps ON ccp.id = ccps.product_id - WHERE ccm.community_id = #{pageSearchDTO.communityId} AND ccp.is_del = 0 + WHERE (ccm.community_id = #{pageSearchDTO.communityId} or ccm.community_id = 0) AND ccp.is_del = 0 AND ccp.on_shelf = 1 AND ccps.is_del = 0 AND ccp.`name` LIKE CONCAT('%', #{pageSearchDTO.keyword}, '%') GROUP BY ccp.id </select> </mapper> \ No newline at end of file -- Gitblit v1.7.1