ParkingLotAreasSMapper.java 1014 Bytes
package com.zteits.park.mapper.smapper;

import com.zteits.clouds.api.dto.park.dto.ParkingAreaRuleListDTO;
import com.zteits.clouds.api.dto.park.dto.closecarpark.ParkingLotChannelAreaDTO;
import com.zteits.clouds.api.dto.park.param.closecarpark.QueryParkAreaListRequest;
import com.zteits.park.domain.ParkingLotAreas;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ParkingLotAreasSMapper {

    List<ParkingLotAreas> selectByExampleLabel(QueryParkAreaListRequest request);

    ParkingLotAreas selectByPrimaryKey(Long id);

    List<ParkingAreaRuleListDTO> queryParkingAreaRuleList(QueryParkAreaListRequest request);

    /**
     * 根据停车场编号以及道闸编号,获取对应的区域信息
     */
    ParkingLotAreas getParkingLotAreasByPlNoAndChannel(@Param("plNo") String plNo, @Param("channelNumber") String channelNumber);

    /**
     * 获取所有的免费的停车场区域的信息
     */
    List<ParkingLotChannelAreaDTO> getAllFreeChargeAreas();
}