package com.yuchen.saas.park.service.service.security.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.yuchen.saas.park.api.entity.security.SaasParkElectronicFence;
import com.yuchen.saas.park.service.mapper.security.SaasParkElectronicFenceMapper;
import com.yuchen.saas.park.service.service.security.ISaasParkElectronicFenceService;
import org.nest.springwrap.core.mp.base.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 电子围栏设备表 服务实现类
 * </p>
 *
 * @author 洪铭铭
 * @since 2024-08-29
 */
@Service
public class SaasParkElectronicFenceServiceImpl extends BaseServiceImpl<SaasParkElectronicFenceMapper, SaasParkElectronicFence> implements ISaasParkElectronicFenceService {
    public List<SaasParkElectronicFence> getAll() {

        LambdaQueryWrapper<SaasParkElectronicFence> qw = new LambdaQueryWrapper<>();
        List<SaasParkElectronicFence> saasParkElectronicFenceList = baseMapper.selectList(qw);

        return saasParkElectronicFenceList;
    }
}
