package com.ruoyi.system.mapper; import com.ruoyi.system.domain.agent.RlAgent; import java.util.List; /** * 代理商Mapper接口 * * @author qzz * @date 2024-09-18 */ public interface RlAgentMapper { /** * 查询代理商 * * @param agentId 代理商主键 * @return 代理商 */ public RlAgent selectRlAgentByAgentId(Long agentId); /** * 根据城市id查询代理商 * * @param cityId 城市id * @return 代理商 */ public RlAgent selectRlAgentByCityId(Long cityId); /** * 查询代理商列表 * * @param rlAgent 代理商 * @return 代理商集合 */ public List 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); }