#
luxiaotao1123
2024-03-29 7c32ab19d3bf4c601212314a1617bbb51c5fdd2a
zy-asrs-wcs/src/main/resources/mapper/system/UserMapper.xml
@@ -19,6 +19,7 @@
        from sys_user su
        left join sys_dept sd on su.dept_id = sd.id
        where 1=1
        and su.deleted = 0
        <if test="param.deptId != null">
            and (FIND_IN_SET(#{param.deptId}, sd.`path`) OR sd.`id` = #{param.deptId})
        </if>
@@ -44,7 +45,7 @@
                or su.phone like concat('%',#{param.condition},'%')
            )
        </if>
        order by su.create_time desc
        order by su.create_time
    </select>
</mapper>