From b8c37474b04dcd8614552f1e64ee031701a7e945 Mon Sep 17 00:00:00 2001 From: baogq <445720029@qq.com> Date: Fri, 10 Jun 2022 17:17:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E7=94=A8=E6=88=B7=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E9=A1=B5=E9=9D=A2=E6=8A=A5=E9=94=99=EF=BC=9AFIND=5FIN?= =?UTF-8?q?=5FSET":=20=E6=A0=87=E8=AF=86=E7=AC=A6=E6=97=A0=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml index d339060..c9124ce 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml @@ -81,7 +81,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" AND u.create_time <= to_date(#{params.endTime},'yyyy-MM-dd HH24:mi:ss') - AND (u.dept_id = #{deptId} OR u.dept_id IN ( SELECT t.dept_id FROM sys_dept_wms t WHERE FIND_IN_SET (#{deptId}, ancestors) ]]> 0 )) + AND (u.dept_id = #{deptId} OR u.dept_id IN ( SELECT t.dept_id FROM sys_dept_wms t WHERE instr (#{deptId}, ancestors) ]]> 0 )) ${params.dataScope}