whyclxw
2024-03-11 70189eed5b6e57530e17dc74288a52c1af6f18cf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.whyc.service;
 
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.whyc.mapper.CarCameraInfMapper;
import com.whyc.pojo.CarCameraHis;
import com.whyc.pojo.CarCameraInf;
import com.whyc.pojo.Response;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
import java.util.List;
 
@Service
public class CarCameraInfService {
    @Autowired(required = false)
    private CarCameraInfMapper infMapper;
    //获取门禁信息
    public Response getCarCameraInf() {
        List<CarCameraInf> list=infMapper.selectList(null);
        return new Response().setII(1,list.size()>0,list,"获取门禁信息");
    }
}