From e9d5fb4b01c383fa5b01bf5e730d4e3da73f266e Mon Sep 17 00:00:00 2001
From: 101captain <237651143@qq.com>
Date: 星期四, 30 十二月 2021 11:27:15 +0800
Subject: [PATCH] 12/30  河门口大屏特殊修改

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActDAO.java |    6 +++---
 1 files changed, 3 insertions(+), 3 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 8f6a958..e6c9730 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
@@ -59,7 +59,7 @@
         + " order by a.create_at desc" + "</script>")
     IPage<ComActVO> pageCommunity(Page page, @Param("pageComActDTO") PageComActDTO pageComActDTO);
 
-    @Update("update sys_user u set u.password=#{password} where u.account=#{account} and u.type=3 and u.community_id = #{communityId}")
+    @Update("update sys_user u set u.password=#{password} where u.account=#{account} and u.type=3 and u.community_id = ${communityId}")
     void updateAccountPassword(@Param("password") String password, @Param("account") String account,
         @Param("communityId") Long communityId);
 
@@ -70,7 +70,7 @@
         + "left join com_mng_struct_area_province as cmsap on cmsap.province_adcode = ca.province_code\n"
         + "left join com_mng_struct_area_city as cmsac on cmsac.city_adcode = ca.city_code\n"
         + "left join com_mng_struct_area_district as cmsad on cmsad.district_adcode = ca.area_code\n"
-        + "left join com_street as cs on cs.street_id = ca.street_id\n" + "where ca.community_id = #{communityId}")
+        + "left join com_street as cs on cs.street_id = ca.street_id\n" + "where ca.community_id = ${communityId}")
     ComPopulationActVO getPopulationActById(@Param("communityId") Long communityId);
 
     @Select("select `name`,street_id from com_street where area_code = '510423'")
@@ -95,6 +95,6 @@
     @Select("select community_id,name,lng,lat from com_act  where state = 0 and area_code = '510423' ")
     List<EventGridCommunityAdminVO> getWestCommunityLists();
 
-    @Select("select account,plaintext_password as password from com_act where community_id = #{communityId}")
+    @Select("select account,plaintext_password as password from com_act where community_id = ${communityId}")
     ComActPasswordVo getCommunityPassword(@Param("communityId") Long communityId);
 }

--
Gitblit v1.7.1