From 2485a4875adda2ffd0e8cfccdf749f15fe8d48cb Mon Sep 17 00:00:00 2001 From: huliguo <2023611923@qq.com> Date: 星期四, 17 七月 2025 08:47:48 +0800 Subject: [PATCH] bug修改 --- ruoyi-system/src/main/resources/mapper/system/AppUserMapper.xml | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ruoyi-system/src/main/resources/mapper/system/AppUserMapper.xml b/ruoyi-system/src/main/resources/mapper/system/AppUserMapper.xml index b2eb90f..b316e91 100644 --- a/ruoyi-system/src/main/resources/mapper/system/AppUserMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/AppUserMapper.xml @@ -19,8 +19,9 @@ left join (select user_id, count(1) as num from tb_order where status = 6 group by user_id) buy on tbu.id = buy.user_id left join (select c.user_id,count(o.company_id) as num from tb_company c left join tb_order o on c.id=o.company_id and o.status=6 group by c.user_id) sell on tbu.id = sell.user_id where tbu.is_delete =0 - <if test="null != dto.username and dto.username != '' "> - and tbu.user_name like concat('%',#{dto.username},'%') + and tbu.status != 3 + <if test="null != dto.userName and dto.userName != '' "> + and tbu.user_name like concat('%',#{dto.userName},'%') </if> <if test="null != dto.phone and dto.phone != '' "> and tbu.phone like concat('%',#{dto.phone},'%') -- Gitblit v1.7.1