package com.gxwebsoft.tower.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxwebsoft.common.core.web.PageResult;
import com.gxwebsoft.tower.entity.TowerCustomer;
import com.gxwebsoft.tower.param.TowerCustomerParam;

import java.util.List;

/**
 * 客户管理Service
 *
 * @author 科技小王子
 * @since 2023-06-08 21:04:27
 */
public interface TowerCustomerService extends IService<TowerCustomer> {

    /**
     * 分页关联查询
     *
     * @param param 查询参数
     * @return PageResult<TowerCustomer>
     */
    PageResult<TowerCustomer> pageRel(TowerCustomerParam param);

    /**
     * 关联查询全部
     *
     * @param param 查询参数
     * @return List<TowerCustomer>
     */
    List<TowerCustomer> listRel(TowerCustomerParam param);

    /**
     * 根据id查询
     *
     * @param customerId 
     * @return TowerCustomer
     */
    TowerCustomer getByIdRel(Integer customerId);

}
