From bdf115fc3eec4f95fed6def5f3350b600e1b2b53 Mon Sep 17 00:00:00 2001 From: liyanqi <15181887205@163.com> Date: 星期四, 08 九月 2022 16:16:57 +0800 Subject: [PATCH] 基本设置 --- ycl-common/src/main/resources/mapper/user/UmsAdminMapper.xml | 38 ++++++++++++++++++++++---------------- 1 files changed, 22 insertions(+), 16 deletions(-) diff --git a/ycl-common/src/main/resources/mapper/user/UmsAdminMapper.xml b/ycl-common/src/main/resources/mapper/user/UmsAdminMapper.xml index 50b91ba..5ae33ba 100644 --- a/ycl-common/src/main/resources/mapper/user/UmsAdminMapper.xml +++ b/ycl-common/src/main/resources/mapper/user/UmsAdminMapper.xml @@ -4,25 +4,31 @@ <!-- 閫氱敤鏌ヨ鏄犲皠缁撴灉 --> <resultMap id="BaseResultMap" type="com.ycl.entity.user.UmsAdmin"> - <id column="id" property="id" /> - <result column="username" property="username" /> - <result column="password" property="password" /> - <result column="icon" property="icon" /> - <result column="email" property="email" /> - <result column="nick_name" property="nickName" /> - <result column="note" property="note" /> - <result column="create_time" property="createTime" /> - <result column="login_time" property="loginTime" /> - <result column="status" property="status" /> + <id column="id" property="id"/> + <result column="username" property="username"/> + <result column="password" property="password"/> + <result column="icon" property="icon"/> + <result column="email" property="email"/> + <result column="nick_name" property="nickName"/> + <result column="note" property="note"/> + <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 - LEFT JOIN ums_admin_role_relation ar ON rr.role_id = ar.role_id - WHERE rr.resource_id=#{resourceId} + 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> </mapper> -- Gitblit v1.8.0