src/main/java/org/springblade/modules/place/mapper/PlaceMapper.xml
@@ -145,4 +145,13 @@ </if> limit 1 </select> <!--查询出有用户id 的场所--> <select id="getHasUserIdPlaceList" resultType="org.springblade.modules.place.entity.PlaceEntity"> select jp.* from jczz_place jp left join blade_user bu on bu.id = jp.principal_user_id and bu.is_deleted = 0 where jp.is_deleted = 0 and jp.principal_user_id is not null </select> </mapper>