101captain
2022-08-01 3d11a41af73a29d0bed10393aa263c4de144f9d5
bug修改
1个文件已修改
11 ■■■■■ 已修改文件
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComActNeighborCircleDOMapper.xml 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComActNeighborCircleDOMapper.xml
@@ -385,4 +385,15 @@
        having serviceTimes<>'' and serviceTime<>''
        order by serviceTimes desc
    </select>
    <select id="selectCount" resultType="Integer">
        select count(id)  from com_act_neighbor_circle
        <where>
            <if test="type!=null">
                and belong_type = #{type}
            </if>
            <if test="phone!=null and phone !=''">
                and (help_member_content like concat('%',#{phone},'%') or help_org_content like concat('%',#{phone},'%') )
            </if>
        </where>
    </select>
</mapper>