1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- 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<Agent> {
- /**
- * 查询列表
- *
- * @param agent 实体
- * @return 列表
- */
- List<Agent> queryList(Agent agent, SysUser user);
- List<Agent> selectAgentList(Agent agent, SysUser user);
- /**
- * 查询所有的代理商
- *
- * @return
- */
- List<Agent> getAgentAll(SysUser user);
- Agent getInfo(Long id, SysUser user);
- Boolean createAgent(Agent agent, SysUser user) throws Exception;
- List<Long> listAgent(Long id);
- /**
- * 查询自己和下级以及下下级的id
- *
- * @param id
- * @return
- */
- List<Long> getIds(Long id);
- Boolean updateAgent(Agent agent);
- Agent getInfo(SysUser user);
- Agent getByPid(Long pid);
- }
|