package com.ydtech.modules.admin.service; import com.baomidou.mybatisplus.extension.service.IService; import com.ydtech.modules.admin.model.dto.SysUserDto; import com.ydtech.modules.admin.model.dto.SysUserLinkDeptInternalAgentDto; import com.ydtech.modules.admin.model.po.SysDeptInternalAgent; import com.ydtech.modules.admin.model.po.SysUserLinkDeptInternalAgent; import com.ydtech.modules.admin.model.vo.SysUserBaseVO; import com.ydtech.modules.admin.model.vo.SysUserLinkDeptInternalAgentAddVo; import com.ydtech.modules.admin.model.vo.SysUserLinkDeptInternalAgentQueryVo; import com.ydtech.modules.order.entity.BasePageResult; import java.util.List; /** * @author Administrator * @description 针对表【sys_user_link_dept_internal_agent(后线人员配置内部机构表)】的数据库操作Service * @createDate 2024-06-26 17:28:11 */ public interface SysUserLinkDeptInternalAgentService extends IService { /** * @version * @author: hxl * @Date: 2024/6/26 18:32 * @Description: 查询内部机构树 */ List queryOrgTree(); /** * @version * @author: hxl * @Date: 2024/6/26 18:35 * @Description: 添加后线人员关联内部机构数据 */ void addOrUpdate(SysUserLinkDeptInternalAgentAddVo sysUserLinkDeptInternalAgentAddVo); /** * @version * @author: hxl * @Date: 2024/6/26 18:38 * @Description: 批量删除数据 */ void deleteByIds(List ids); /** * @version * @author: hxl * @Date: 2024/6/26 18:43 * @Description: 分页接口 */ BasePageResult queryPage(SysUserLinkDeptInternalAgentQueryVo sysUserLinkDeptInternalAgentQueryVo); /** * 根据userid获取对象 * @param userId * @return */ SysUserLinkDeptInternalAgent getByUserId(String userId); /** * @version * @author: hxl * @Date: 2024/6/28 14:45 * @Description: 查询后线人员以及回显数据 */ BasePageResult findUserListByPage(SysUserDto sysUserDto); /** * @version * @author: hxl * @Date: 2024/7/3 9:42 * @Description: 根据内部机构id查询管理的用户 */ List getUserIdListByDeptId(String deptId); }