springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/resources/mapper/UserDao.xml
@@ -707,5 +707,13 @@ and t.create_at >= #{range} </if> </select> <select id="selectCommunityByStreetId" resultType="com.panzhihua.common.model.vos.user.CommunityVO"> select community_id as id,name from com_act where street_id =#{id} <if test="type == 1"> and name like concat('%','社区') </if> <if test="type == 2"> and name like concat('%','村') </if> </select> </mapper>