Blame view

parking-module-park/src/main/java/com/zteits/park/mapper/smapper/ParkFreeBerthSMapper.java 1.51 KB
9af4a544   王彪总   新项目
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
  package com.zteits.park.mapper.smapper;
  
  import java.util.List;
  
  import org.apache.ibatis.annotations.Param;
  
  import com.zteits.clouds.api.dto.govclouds.param.UserAreaInfo;
  import com.zteits.park.domain.BerthInfoDO;
  import com.zteits.park.domain.ParkFreeBerthsCountStatisticByCountryDO;
  import com.zteits.park.domain.ZeroBerthParkingLotDO;
  
  /**
   * Copyright: Copyright (c) 2017  zteits
   *
   * @ClassName: ParkFreeBerthSMapper.java
   * @Description:
   * @version: v1.0.0
   * @author: langlw
   * @date: 2017年6月1日   下午4:44:06
   * Modification History:
   * Date             Author          Version            Description
   * ---------------------------------------------------------*
   * 2017年6月1日      langlw          v1.0.0               创建
   */
  public interface ParkFreeBerthSMapper {
  
      /**
       * 通过区县分组获取空闲车位统计信息
       *
       * @param cityId 城市ID 统计某个市的数据
       * @return 2017年6月29日 zhaowg
       */
      List<ParkFreeBerthsCountStatisticByCountryDO> StatisticParkFreeBerthsCountByCountry(@Param("cityId") Long cityId,@Param("state")Integer state);
  
      /**
       * 根据停车场编码查询所有的空余车位数
       *
       * @param plnos 停车场编码
       * @return
       */
      int queryAllFreeBerthNum(@Param("plnos") List<String> plnos);
      
      BerthInfoDO getParkingBerthInfo(@Param("userAreaInfoList")List<UserAreaInfo> userAreaInfoList);
  
  	List<ZeroBerthParkingLotDO> getZeroBerthParkinglotList(@Param("userAreaInfoList")List<UserAreaInfo> userAreaInfoList);
  }