#
Junjie
2024-05-05 dad3cd8ed8afa86b651bb1a053421e7aa2b8c7ac
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>