whyclxw
2025-03-31 c49534f41826959f9309b6c79404c91b3a38b3c8
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.whyc.mapper;
 
import com.whyc.dto.LockIdDto;
import com.whyc.dto.LockInfDto;
import com.whyc.pojo.plus_inf.LockInf;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
public interface LockInfMapper extends CustomMapper<LockInf>{
    //获取当前最大的锁
    int getMaxLockId(@Param("stationId") Integer stationId);
 
    //获取当前最大的锁
    List<LockInf> getAllLockInf(@Param("dto") LockInfDto dto);
 
    //实时获取获取区域下所有锁的状态
    List<LockInf> getRealLock(@Param("lockIdList")  List<Integer> lockIdList);
    //根据锁id查询信息
    LockInf getlinfBylockId(@Param("lockId") Integer lockId);
    //查询屏柜的全部类型(下拉)
    List<String> getScreenType(@Param("uid") Integer uid);
    //查询屏柜全部品牌(下拉)
    List<String> getScreenProduct(@Param("uid") Integer uid);
    //查询锁的信息和id卡
    List<LockInf> getLockId(@Param("dto") LockIdDto dto);
}