From 0faeb4ac9e70c8d1945ad08642c1157c6fada8b5 Mon Sep 17 00:00:00 2001 From: 101captain <237651143@qq.com> Date: 星期六, 07 五月 2022 15:23:12 +0800 Subject: [PATCH] 花城E+防疫修改 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActDAO.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActDAO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActDAO.java index 3b47cab..3c4ac15 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActDAO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActDAO.java @@ -92,7 +92,7 @@ "HAVING distance >= 0 and distance <= #{communityDTO.distance} ORDER BY distance ASC") List<CommunitySwitchAllAppletsVO> getCommunityListByNearby(@Param("communityDTO") SearchCommunityDTO communityDTO); - @Select("<script> select community_id,name,lng,lat from com_act where state = 0 <if test='areaCode !=null'> and area_code = #{areaCode} </if> </script>") + @Select("<script> select community_id,name,lng,lat from com_act where state = 0 <if test='areaCode !=null and areaCode !='''> and area_code = #{areaCode} </if> </script>") List<EventGridCommunityAdminVO> getWestCommunityLists(@Param("areaCode") String areCode); @Select("select account,plaintext_password as password from com_act where community_id = ${communityId}") -- Gitblit v1.7.1