diff --git a/ruoyi-system/src/main/resources/mapper/house/HouseResourceMapper.xml b/ruoyi-system/src/main/resources/mapper/house/HouseResourceMapper.xml index a936f6124677e24e655740f858c1f672d5340367..c59f7eaa92760f65ee810c1560c5f5928f1b2a5a 100644 --- a/ruoyi-system/src/main/resources/mapper/house/HouseResourceMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/house/HouseResourceMapper.xml @@ -243,5 +243,6 @@ LEFT JOIN grid_region t2 ON t2.wg_code = t1.four LEFT JOIN business_entity_info t3 ON t1.id = t3.house_resource_id LEFT JOIN business_entity_sell t4 ON t4.business_entity_info_id = t3.id + GROUP BY t1.id </select> </mapper>