版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/w_t_y_y/article/details/82661897
SELECT
tu.user_id userId,
tu.user_name userName,
tu.user_accout userAccount,
tu.user_passwd userPassword,
tu.is_domain isDomain,
IFNULL(tu.user_phone,'--') userPhone,
IFNULL(tu.call_phone ,'--') callPhone,
IFNULL(tu.email,'--') email,
IFNULL(tu.note,'--') note,
tu.create_time createTime,
IFNULL(tu.last_login_ip,'--') lastLoginIp,
ttr.role_name roleName,
ttr.role_id roleId,
ttr.role_code roleCode
FROM
t_user tu