ChannelDao.java 1.8 KB
package com.zteits.park.dao;

import com.zteits.clouds.api.dto.park.dto.ChannelInfoDTO;
import com.zteits.clouds.api.dto.park.param.closecarpark.CheckChannelNumRequest;
import com.zteits.clouds.api.dto.park.param.closecarpark.QueryChannelInfoByNoRequest;
import com.zteits.clouds.api.dto.park.param.closecarpark.QueryChannelInfoRequest;
import com.zteits.clouds.api.dto.park.param.closecarpark.QueryChannelNameByChannelNumsRequest;
import com.zteits.park.domain.ParkingLotChannel;

import java.util.List;

/**
 * 停车场泊位数据模型
 *
 * Copyright: Copyright (c) 2017  zteits
 *
 * @ClassName: ParkingLotDao.java
 * @Description:
 * @version: v1.0.0
 * @author: zhaowg
 * @date: 2017年6月1日   上午9:28:06
 * Modification History:
 * Date             Author          Version            Description
 * ---------------------------------------------------------*
 * 2020年11月12日      jiawj              v1.0.0               创建
 */
public interface ChannelDao {

    ChannelInfoDTO QueryChannelInfo(QueryChannelInfoRequest request);

    int insertSelective(ParkingLotChannel parkingLotChannel);

    int updateSelective(ParkingLotChannel parkingLotChannel);

    int deleteSelective(ParkingLotChannel parkingLotChannel);

    int updateTideChannelByNum(ParkingLotChannel channel);

    ParkingLotChannel queryChannelInfoByNo(QueryChannelInfoByNoRequest queryChannelInfoByNoRequest);

    /**
     * 获取通道信息列表
     */
    List<ChannelInfoDTO> tideChannelChoice(ParkingLotChannel parkingLotChannel);

    List<ChannelInfoDTO> queryChannelNameByChannelNums(QueryChannelNameByChannelNumsRequest request);

    int checkChannelNum(CheckChannelNumRequest request);

    /**
     * 根据ID 获取通道信息
     * @param id
     * @return
     */
    ParkingLotChannel queryParkingLotChannelById(Long id);
}