ZQN
2024-06-21 cdb4df5b86eefa7c36e4746b7fc00d7d15b52ce6
project-system/src/main/resources/mapper/system/SysUserMapper.xml
@@ -92,7 +92,7 @@
         AND (u.dept_id = #{deptId} OR u.dept_id IN ( SELECT t.dept_id FROM sys_dept t WHERE find_in_set(#{deptId}, ancestors) ))
      </if>
      <!-- 数据范围过滤 -->
      <if test="params != null and params.dataScope != null">
      <if test="params != null and params.dataScope != null and params.dataScope != ''">
         AND ${params.dataScope}
      </if>
   </select>
@@ -111,7 +111,7 @@
         AND u.phonenumber like concat('%', #{phonenumber}, '%')
      </if>
      <!-- 数据范围过滤 -->
      <if test="params != null and params.dataScope != null">
      <if test="params != null and params.dataScope != null and params.dataScope != ''">
         AND ${params.dataScope}
      </if>
   </select>
@@ -131,7 +131,7 @@
         AND u.phonenumber like concat('%', #{phonenumber}, '%')
      </if>
      <!-- 数据范围过滤 -->
      <if test="params != null and params.dataScope != null">
      <if test="params != null and params.dataScope != null and params.dataScope != ''">
         AND ${params.dataScope}
      </if>
   </select>