package com.tour.module.service; import com.tour.common.core.domain.entity.SysUser; import com.tour.module.domain.Agent; import com.baomidou.mybatisplus.extension.service.IService; import java.math.BigDecimal; import java.util.List; /** * 代理商信息Service接口 * * @author zoe * @date 2023-05-23 */ public interface IAgentService extends IService { /** * 查询列表 * * @param agent 实体 * @return 列表 */ List queryList(Agent agent, SysUser user); List selectAgentList(Agent agent, SysUser user); /** * 查询所有的代理商 * * @return */ List getAgentAll(SysUser user); Agent getInfo(Long id, SysUser user); Boolean createAgent(Agent agent, SysUser user) throws Exception; List listAgent(Long id); /** * 查询自己和下级以及下下级的id * * @param id * @return */ List getIds(Long id); Boolean updateAgent(Agent agent); Agent getInfo(SysUser user); Agent getByPid(Long pid); }