From 9d42afc9c2fd5ef2ba09b56ba3a5475801b9e4d5 Mon Sep 17 00:00:00 2001 From: Cui Zhi Feng <7426394+wuxixiaocui@user.noreply.gitee.com> Date: 星期二, 29 十月 2024 11:34:34 +0800 Subject: [PATCH] 统计 商品管理 用户管理 订单管理 --- src/main/resources/mapper/supplier/SupplierMapper.xml | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/supplier/SupplierMapper.xml b/src/main/resources/mapper/supplier/SupplierMapper.xml index 7a06f2e..1f21e2f 100644 --- a/src/main/resources/mapper/supplier/SupplierMapper.xml +++ b/src/main/resources/mapper/supplier/SupplierMapper.xml @@ -7,11 +7,13 @@ SELECT t.*, s.name as stationName, - st.`name` as typeName + st.`name` as typeName, + us.login_name as registerTel FROM t_supplier_info t LEFT JOIN t_station s ON t.station_id = s.id LEFT JOIN t_supplier_type st ON t.type_id = st.id + LEFT JOIN t_user us ON t.user_id = us.id and us.type='supplier' WHERE t.deleted = 0 <if test="dto.name!=null and dto.name!=''"> AND t.name LIKE CONCAT('%',#{dto.name}, '%') -- Gitblit v1.9.3