From a7002e25ec105e5f73c27f91944f1c0b4991c355 Mon Sep 17 00:00:00 2001
From: puhanshu <a9236326>
Date: 星期四, 30 十二月 2021 14:23:41 +0800
Subject: [PATCH] Merge branch 'master' into test

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComMngStructOtherBuildDAO.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComMngStructOtherBuildDAO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComMngStructOtherBuildDAO.java
index ed0af64..7f005bd 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComMngStructOtherBuildDAO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComMngStructOtherBuildDAO.java
@@ -37,12 +37,12 @@
         + "<if test='comMngStructOtherBuildVO.name != null and comMngStructOtherBuildVO.name.trim() != &quot;&quot;'>"
         + " and b.name like concat(#{comMngStructOtherBuildVO.name},'%') " + " </if> "
         + "<if test='comMngStructOtherBuildVO.communityId != null'>"
-        + " and b.community_id = #{comMngStructOtherBuildVO.communityId} " + " </if> " + " </where>"
+        + " and b.community_id = ${comMngStructOtherBuildVO.communityId} " + " </if> " + " </where>"
         + " order by b.create_at desc" + "</script>")
     IPage<ComMngStructOtherBuildVO> pageOtherBuild(Page page,
         @Param("comMngStructOtherBuildVO") ComMngStructOtherBuildVO comMngStructOtherBuildVO);
 
     @Select("SELECT\n" + "b.type_id \n" + "FROM\n" + "com_mng_struct_other_build b\n" + "WHERE\n"
-        + "b.community_id = #{communityId}\n" + "GROUP BY\n" + "b.type_id")
+        + "b.community_id = ${communityId}\n" + "GROUP BY\n" + "b.type_id")
     List<Long> selectAllBuildTypeIds(Long communityId);
 }

--
Gitblit v1.7.1