Blame view

zteits-job/src/main/java/com/zteits/job/dao/park/ParkingLotDao.java 593 Bytes
3a404b2a   zhaowg   空闲车位获取和推送
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
  package com.zteits.job.dao.park;
  
  import com.zteits.job.domain.ParkingLot;
  import com.zteits.job.domain.ParkingLotExample;
  import org.apache.ibatis.annotations.Param;
  
  import java.util.List;
  
  public interface ParkingLotDao {
      List<ParkingLot> selectByExample(ParkingLotExample example);
  
      /**
       * 根据停车场编号查询停车场
       * @param plNo
       * @return
       */
      ParkingLot selectByPlNo(String plNo);
  
      /**
       * 更新总车位数
       * @param plNo
       * @param plBerthsNum
       * @return
       */
      int updateTotalBerths(String plNo,Integer plBerthsNum);
  
  }