liyong
8 天以前 7b27b2c061d90355ca0a7c24714096d211e67ef3
fix(customer): 修复客户查询中使用状态过滤条件

- 移除了硬编码的使用状态过滤条件 c.usage_status = 1
- 使客户查询不再强制过滤使用状态为启用的记录
- 允许通过参数动态控制客户使用状态的过滤行为
已修改1个文件
1 ■■■■ 文件已修改
src/main/resources/mapper/basic/CustomerMapper.xml 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/basic/CustomerMapper.xml
@@ -26,7 +26,6 @@
        from customer c
        left join sys_user u on c.usage_user = u.user_id
        <where>
            and c.usage_status = 1
            <if test="c.customerName != null and c.customerName != ''">
                and customer_name like concat('%', #{c.customerName}, '%')
            </if>