Blame view

parking-module-park/src/main/java/com/zteits/park/dao/ParkFreeBerthDao.java 2.09 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
  package com.zteits.park.dao;
  
  import java.util.List;
  
  import com.zteits.clouds.api.dto.govclouds.param.UserAreaInfo;
  import com.zteits.park.domain.BerthInfoDO;
  import com.zteits.park.domain.ParkFreeBerth;
  import com.zteits.park.domain.ParkFreeBerthsCountStatisticByCountryDO;
  import com.zteits.park.domain.ZeroBerthParkingLotDO;
  
  /**
   * 
   * 
   * Copyright: Copyright (c) 2017  zteits
   * 
   * @ClassName: ParkFreeBerthDao.java
   * @Description: 
   * @version: v1.0.0
   * @author: langlw
   * @date: 2017年6月1日   下午4:08:08 
   * Modification History:
   * Date             Author          Version            Description
   *---------------------------------------------------------*
   * 2017年6月1日      langlw          v1.0.0               创建
   */
  public interface ParkFreeBerthDao {
      /**
       * 空闲车位对象逻辑删除.<br/>
       *
       * @param ParkFreeBerthDeleteRequest
       * @return
       */
      Boolean deleteParkFreeBerth(List<String> plNos,Long opId);
      /**
       * 根据给定的城市,统计该城市下不同区县的空闲车位数量信息
       * @param cityId
       * @param state 
       * @return
       * 2017年6月29日 zhaowg
       */
  	List<ParkFreeBerthsCountStatisticByCountryDO> StatisticParkFreeBerthsCountByCountry(Long cityId, Integer state);
  
      /**
       * 根据停车场编码,查询空余车位数
       * @param plnos
       * @return 空余车位停车场
       * @author 张志涛
       */
      List<ParkFreeBerth> queryFreeBerthByPlno(List<String> plnos);
  
      /**
       * 根据停车场编码查询所有的空余车位数
       *
       * @param plnos 停车场编码
       * @return
       */
     long queryAllFreeBerthNum(List<String> plnos);
     /**
  	 * 根据areaId获取车位总数,空闲车位总数
  	 * @param userAreaInfoList
  	 * @return
  	 */
  	BerthInfoDO getParkingBerthInfo(List<UserAreaInfo> userAreaInfoList);
  	
  	List<ZeroBerthParkingLotDO> getZeroBerthParkinglotList(List<UserAreaInfo> userAreaInfoList);
  
  	/**
  	 * 修改收费免费的空闲车位
  	 * @param
  	 * @return
  	 * @Author: xiejianpeng
  	 * @Date: 2020/7/9 12:02
  	 *
  	 */
  	Integer updateParkVipFreeBerth(ParkFreeBerth parkFreeBerth);
  
  }