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.SaasParkElectronicFenceArea;
import com.yuchen.saas.park.service.mapper.security.SaasParkElectronicFenceAreaMapper;
import com.yuchen.saas.park.service.service.security.ISaasParkElectronicFenceAreaService;
import org.nest.springwrap.core.mp.base.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 电子围栏防区表 服务实现类
 * </p>
 *
 * @author 洪铭铭
 * @since 2024-09-05
 */
@Service
public class SaasParkElectronicFenceAreaServiceImpl extends BaseServiceImpl<SaasParkElectronicFenceAreaMapper, SaasParkElectronicFenceArea> implements ISaasParkElectronicFenceAreaService {
    /**
     * @description: 
     * @param
     * @return: java.util.List<com.yuchen.saas.park.api.entity.security.SaasParkElectronicFenceArea>
     * @author: 洪铭铭
     * @time: 2024/9/6 14:57
     */
    public List<SaasParkElectronicFenceArea> getAll() {

        LambdaQueryWrapper<SaasParkElectronicFenceArea> qw = new LambdaQueryWrapper<>();
        List<SaasParkElectronicFenceArea> saasParkElectronicFenceAreaList = baseMapper.selectList(qw);

        return saasParkElectronicFenceAreaList;
    }
}
