From ce4a770744d7a0b4e4ea3b5101556b94e72bdf1c Mon Sep 17 00:00:00 2001
From: lidongdong <1459917685@qq.com>
Date: 星期二, 14 十一月 2023 17:49:20 +0800
Subject: [PATCH] 修改打卡

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActDAO.java |    6 ++++--
 1 files changed, 4 insertions(+), 2 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 674d8ba..ab35b17 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
@@ -5,6 +5,7 @@
 import com.panzhihua.common.model.vos.community.ComActPasswordVo;
 import com.panzhihua.common.model.vos.community.DataCount;
 import com.panzhihua.common.model.vos.partybuilding.ComPbMemberTypeVO;
+import com.panzhihua.common.model.vos.puda.DynamicVO;
 import org.apache.ibatis.annotations.Mapper;
 import org.apache.ibatis.annotations.Param;
 import org.apache.ibatis.annotations.Select;
@@ -56,7 +57,8 @@
         + "and a.name LIKE concat( #{pageComActDTO.name}, '%' ) \n" + " </if> "
         + "<if test='pageComActDTO.areaCode != null and pageComActDTO.areaCode.trim() != &quot;&quot;'>"
         + "AND a.area_code = #{pageComActDTO.areaCode} \n" + " </if> "
-        + "<if test='pageComActDTO.createAtBegin != null '>" + "AND a.create_at BETWEEN "
+        + "<if test='pageComActDTO.createAtBegin != null '>"
+            + "AND a.create_at BETWEEN "
         + "#{pageComActDTO.createAtBegin} \n" + "AND #{pageComActDTO.createAtEnd}" + " </if> " + " </where>"
         + " order by a.create_at desc" + "</script>")
     IPage<ComActVO> pageCommunity(Page page, @Param("pageComActDTO") PageComActDTO pageComActDTO);
@@ -97,7 +99,7 @@
     @Select("<script> select community_id,name,lng,lat from com_act  where state = 0 <if test='areaCode !=null and areaCode !=&quot;&quot;'> 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}")
+    @Select("select account,plaintext_password as password from com_act where community_id = #{communityId}")
     ComActPasswordVo getCommunityPassword(@Param("communityId") Long communityId);
 
     @Select("select name from com_pb_check_unit where id=#{id}")

--
Gitblit v1.7.1