select a.id,a.approval_number,a.approval_name,a.approve_type,a.create_by,(select r.role_name from sys_role r where r.role_id = (select ur.role_id from sys_user_role ur where ur.user_id = (select u.user_id from sys_user u where u.user_name = a.create_by))) as createRoleName,a.create_time,a.update_time from approval_process a