ride-lease/ridelease-system/src/main/java/com/ruoyi/system/mapper/RlAgentMapper.java
2024-10-14 20:57:08 +08:00

72 lines
1.4 KiB
Java

package com.ruoyi.system.mapper;
import com.ruoyi.system.domain.agent.RlAgent;
import com.ruoyi.system.domain.agent.RlAgentVO;
import java.util.List;
/**
* 代理商Mapper接口
*
* @author qzz
* @date 2024-09-18
*/
public interface RlAgentMapper
{
/**
* 查询代理商
*
* @param agentId 代理商主键
* @return 代理商
*/
public RlAgentVO selectRlAgentByAgentId(Long agentId);
/**
* 根据城市id查询代理商
*
* @param cityId 城市id
* @return 代理商
*/
public RlAgentVO selectRlAgentByCityId(Long cityId);
/**
* 查询代理商列表
*
* @param rlAgent 代理商
* @return 代理商集合
*/
public List<RlAgentVO> selectRlAgentList(RlAgent rlAgent);
/**
* 新增代理商
*
* @param rlAgent 代理商
* @return 结果
*/
public int insertRlAgent(RlAgent rlAgent);
/**
* 修改代理商
*
* @param rlAgent 代理商
* @return 结果
*/
public int updateRlAgent(RlAgent rlAgent);
/**
* 删除代理商
*
* @param agentId 代理商主键
* @return 结果
*/
public int deleteRlAgentByAgentId(Long agentId);
/**
* 批量删除代理商
*
* @param agentIds 需要删除的数据主键集合
* @return 结果
*/
public int deleteRlAgentByAgentIds(Long[] agentIds);
}