springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ConvenientProductMapper.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
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>