From aa2c6d722ed799290285b6365f011aaa74373d73 Mon Sep 17 00:00:00 2001 From: 44323 <443237572@qq.com> Date: 星期六, 23 十二月 2023 17:30:07 +0800 Subject: [PATCH] 11.27,9 --- cloud-server-management/src/main/resources/mapper/TOperatorMapper.xml | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/cloud-server-management/src/main/resources/mapper/TOperatorMapper.xml b/cloud-server-management/src/main/resources/mapper/TOperatorMapper.xml index 780ffae..cf50d24 100644 --- a/cloud-server-management/src/main/resources/mapper/TOperatorMapper.xml +++ b/cloud-server-management/src/main/resources/mapper/TOperatorMapper.xml @@ -15,7 +15,8 @@ </update> <select id="listAll" resultType="java.util.Map"> - select t1.id as id, t1.name as name,t1.type as `type`,t1.state as state,t1.status as status,t2.name as userName,t2.phone as phone from t_operator t1 + select t1.id as id, t1.name as name,t1.type as `type`,t1.state as state,t1.status as status,t2.name as userName,t2.phone as phone + from t_operator t1 left join sys_user t2 on t1.userId = t2.id where 1=1 <if test="userName != null and userName != ''"> -- Gitblit v1.7.1