1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
| package com.whyc.mapper;
|
| import com.whyc.pojo.db_area.LockInf;
| import org.apache.ibatis.annotations.Param;
|
| import java.util.List;
|
| public interface LockInfMapper extends CustomMapper<LockInf>{
| //获取当前最大的锁
| int getMaxLockId();
|
| //获取当前最大的锁
| List<LockInf> getAllLockInf(String lockName, Integer lockType, Integer lockState,List<Integer> areaList);
|
| //查看区域下所有的锁
| List<LockInf> selectAllLockById(@Param("areaList") List<Integer> areaList);
|
| //根据锁的lockIds查询锁的记录
| List<LockInf> selectlinfByLockIds(@Param("lockIds") List<Integer> lockIds);
|
| //实时获取获取区域下所有锁的状态
| List<LockInf> getRealLock(@Param("areaList") List<Integer> areaList);
| }
|
|