package com.njcn.device.pms.service.majornetwork;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.njcn.device.pms.pojo.dto.PmsTractionStationDTO;
import com.njcn.device.pms.pojo.param.PmsTractionStationParam;
import com.njcn.device.pms.pojo.param.TractionStationParam;
import com.njcn.device.pms.pojo.po.TractionStation;
import com.njcn.web.pojo.param.BaseParam;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author hongawen
 * @since 2022-10-14
 */
public interface ITractionStationService extends IService<TractionStation> {

    /**
     * 查询牵引站列表
     *
     * @return boolean
     */
    List<TractionStation> getTractionStationList();

    /**
     * 分页查询牵引站列表
     *
     * @return boolean
     */
    Page<TractionStation> getTractionStationPageList(BaseParam baseParam);

    /**
     * 查询牵引站
     *
     * @return boolean
     */
    TractionStation getTractionStationById(String tractionStationId);

    /**
     * 新增
     */
    boolean add(TractionStationParam tractionStationParam);

    /**
     * 修改
     *
     * @param
     */
    boolean update(TractionStationParam updateParam);

    /**
     * 删除
     *
     * @param ids ids
     */
    boolean delete(List<String> ids);

    /**
     * 获取牵引站详细信息
     *
     * @param param 条件参数
     * @return java.util.List<com.njcn.device.pms.pojo.dto.PmsTractionStationDTO>
     * @author yzh
     * @date 2022/11/8
     */
    List<PmsTractionStationDTO> getPmsTractionStationInfo(PmsTractionStationParam param);
}
