lidongdong
2023-09-08 60ece6e2bce548f638616c4054cfc1353e232caa
修改商家管理筛选
1个文件已修改
10 ■■■■ 已修改文件
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/VolunteerMerchantMapper.xml 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/VolunteerMerchantMapper.xml
@@ -71,17 +71,17 @@
        from volunteer_merchant
        <where>
            1=1
            <if test="communityId!=null">
            <if test="communityId!=null and communityId !='' ">
                and community_id=#{communityId}
            </if>
            <if test="merchantState !=null">
            <if test="merchantState !=null and merchantState !='' ">
                and merchant_state=#{merchantState}
            </if>
            <if test="merchantType !=null ">
            <if test="merchantType !=null and merchantType !=''  ">
                and merchant_type=#{merchantType}
            </if>
            <if test="name !=null ">
                and (volunteer_merchant.name like concat('%',#{name},'%'))
            <if test="name !=null and name !=''  ">
                and ((select vt.name from volunteer_type as vt where vt.id=volunteer_merchant.merchant_type) like concat('%',#{name},'%'))
            </if>
        </where>
        order by merchantGrade desc,creation_time desc