lidongdong
2024-06-24 c976225dd87518c6e34337f994c4651d096547d5
花城 修改党建分类标参数
3个文件已修改
35 ■■■■ 已修改文件
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActDAO.java 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComActDaoMapper.xml 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/resources/mapper/NeedProblemInventoryMapper.xml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActDAO.java
@@ -88,10 +88,10 @@
    @Select("select ca.`name`,ca.street_id,ca.community_id,cs.`name` as streetName from com_act as ca left join com_street as cs on cs.street_id = ca.street_id where ca.state = 0 and ca.street_id = #{streetId}")
    List<CommunitySwitchAllAppletsVO> getCommunityListByStreetId(@Param("streetId") Long streetId);
    @Select("<script> select ca.`name`,ca.street_id,ca.community_id,cs.`name` as streetName " +
            "from com_act as ca " +
            "left join com_street as cs on cs.street_id = ca.street_id " +
            "where ca.state = 0 and ca.name like concat('%',#{name},'%') <if test='appId !=null and appId !=&quot;&quot;'> and cs.app_id = #{appId} </if> </script> ")
//    @Select("<script> select ca.`name`,ca.street_id,ca.community_id,cs.`name` as streetName " +
//            "from com_act as ca " +
//            "left join com_street as cs on cs.street_id = ca.street_id " +
//            "where ca.state = 0 and ca.name like concat('%',#{name},'%') <if test='appId !=null and appId !=&quot;&quot;'> and cs.app_id = #{appId} </if> </script> ")
    List<CommunitySwitchAllAppletsVO> getCommunityListByName(@Param("name") String name,@Param("appId") String appId);
    @Select("SELECT   c.community_id,    c.`name`,    c.street_id,    cs.`name` as streetName," +
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComActDaoMapper.xml
@@ -3,6 +3,29 @@
<mapper namespace="com.panzhihua.service_community.dao.ComActDAO">
    <select id="getCommunityListByName" resultType="com.panzhihua.common.model.vos.community.switchs.CommunitySwitchAllAppletsVO">
        select ca.`name`,ca.street_id,ca.community_id,cs.`name` as streetName
        from com_act as ca
        left join com_street as cs on cs.street_id = ca.street_id
        where ca.state = 0 and ca.name like concat('%',#{name},'%')
        <if test='appId !=null and appId !=&quot;&quot;'>
          and cs.app_id = #{appId}
        </if>
    </select>
    <select id="oneTagThreeReal" resultType="com.panzhihua.common.model.vos.area.StreetAndBuildVO">
        select ca.name name,ca.community_id as communityId,
               (select
springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/resources/mapper/NeedProblemInventoryMapper.xml
@@ -123,7 +123,7 @@
            nfpi.status,
            nfpi.user_id
        FROM new_fight_need_problem_inventory as nfpi
        left join com_act_neighbor_circle_topic as canct on canct.id=nfpi.classify_id
        left join com_act_neighbor_circle_topic_new as canct on canct.id=nfpi.classify_id
        left join new_fight_need_problem_claim as nfnpc on nfnpc.task_id=nfpi.id and nfnpc.user_id=#{userIds}
        <where>
            1=1
@@ -176,7 +176,7 @@
            nfpi.status,
            nfpi.user_id
        FROM new_fight_need_problem_inventory as nfpi
        left join com_act_neighbor_circle_topic as canct on canct.id=nfpi.classify_id
        left join com_act_neighbor_circle_topic_new as canct on canct.id=nfpi.classify_id
        left join new_fight_need_problem_claim as nfnpc on nfnpc.task_id=nfpi.id and nfnpc.user_id=#{userIds}
        <where>
            1=1