lidongdong
2023-07-11 a57b7a351356320a69973652b9b021bc0c4a954e
修改街道获取接口数据重复
1个文件已修改
16 ■■■■■ 已修改文件
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComActDynDOMapper.xml 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComActDynDOMapper.xml
@@ -232,23 +232,21 @@
         <if test="comActDynVO.typeS != null and comActDynVO.typeS == 2 ">
             AND d.type in (
             (SELECT cadt.id FROM `com_act_dyn_type` as cadt WHERE cadt.name in
             SELECT cadt.id FROM `com_act_dyn_type` as cadt WHERE cadt.name in
             <foreach collection="comActDynVO.typeList" item="id" index="index" open="(" close=")" separator=",">
                 #{id}
             </foreach>
             <if test="comActDynVO.communityId != null and comActDynVO.communityId != '' ">
                 and cadt.community_id in (${comActDynVO.communityId})
             </if>)
             </if>
             union
             SELECT cadt2.id FROM `com_act_dyn_type` as cadt2 WHERE  cadt2.area=1 and cadt2.name in
             <foreach collection="comActDynVO.typeList" item="id" index="index" open="(" close=")" separator=",">
                 #{id}
             </foreach>
             )
        </if>
<!--        (SELECT cadt2.id FROM `com_act_dyn_type` as cadt2 WHERE  cadt2.area=1 and cadt2.name in-->
<!--        <foreach collection="comActDynVO.typeList" item="id" index="index" open="(" close=")" separator=",">-->
<!--            #{id}-->
<!--        </foreach>  )-->
        <if test="comActDynVO.publishAtBegin != null and comActDynVO.publishAtBegin != '' ">
            AND d.publish_at BETWEEN #{comActDynVO.publishAtBegin} AND #{comActDynVO.publishAtEnd}