| | |
| | | <result column="create_time" property="createTime" /> |
| | | <result column="login_time" property="loginTime" /> |
| | | <result column="status" property="status" /> |
| | | <result column="mac_address" property="macAddress"/> |
| | | <result column="ip_address" property="ipAddress"/> |
| | | <result column="is_dy" property="isDy"/> |
| | | <result column="job_title" property="jobTitle"/> |
| | | <result column="department_id" property="departmentId"/> |
| | | <result column="user_type" property="userType"/> |
| | | <result column="zj" property="zj"/> |
| | | <result column="mobile" property="mobile"/> |
| | | </resultMap> |
| | | |
| | | <select id="getAdminIdList" resultType="java.lang.Long"> |
| | | SELECT |
| | | DISTINCT ar.admin_id |
| | | FROM |
| | | ums_role_resource_relation rr |
| | | SELECT DISTINCT ar.admin_id |
| | | FROM ums_role_resource_relation rr |
| | | LEFT JOIN ums_admin_role_relation ar ON rr.role_id = ar.role_id |
| | | WHERE rr.resource_id=#{resourceId} |
| | | </select> |