|
|
@@ -86,7 +86,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
${params.dataScope}
|
|
|
</select>
|
|
|
|
|
|
- <select id="selectAllocatedList" parameterType="SysUser" resultMap="SysUserResult">
|
|
|
+ <select id="selectAllEnabledUser" resultMap="SysUserResult">
|
|
|
+ select u.user_id, u.dept_id, u.nick_name, u.user_name
|
|
|
+ from app_user.sys_user u
|
|
|
+ where u.del_flag = '0' and u.status = '0'
|
|
|
+ order by u.nick_name
|
|
|
+ </select>
|
|
|
+
|
|
|
+ <select id="selectAllocatedList" parameterType="SysUser" resultMap="SysUserResult">
|
|
|
select distinct u.user_id, u.dept_id, u.user_name, u.nick_name, u.email, u.phonenumber, u.status, u.create_time
|
|
|
from app_user.sys_user u
|
|
|
left join app_user.sys_dept d on u.dept_id = d.dept_id
|