Browse Source

用户管理添加所属部门查询条件

feature/dangjian
wanggongfeng 4 years ago
parent
commit
1ff2e55698
  1. 3
      esua-epdc/epdc-admin/epdc-admin-server/src/main/resources/mapper/SysUserDao.xml

3
esua-epdc/epdc-admin/epdc-admin-server/src/main/resources/mapper/SysUserDao.xml

@ -25,6 +25,9 @@
<if test="email != null and email.trim() != ''">
and t1.email like #{email}
</if>
<if test="deptId != null and deptId.trim() != ''">
and t1.dept_id = #{deptId}
</if>
<if test="deptIdList != null">
and t1.dept_id in
<foreach item="id" collection="deptIdList" open="(" separator="," close=")">

Loading…
Cancel
Save