liujie
2026-06-09 c96fbe6b0aeb413a17c429133ee6d81d138144b9
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
package com.xiaopeng.operation.service.impl;
 
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.xiaopeng.api.model.operation.XpElectronicFenceArea;
import com.xiaopeng.operation.mapper.XpElectronicFenceAreaMapper;
import com.xiaopeng.operation.service.IXpElectronicFenceAreaService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
 
/**
 * <p>
 * 电子围栏区域构成 服务实现类
 * </p>
 *
 * @author mitao
 * @since 2026-02-03
 */
@Service
public class XpElectronicFenceAreaServiceImpl extends ServiceImpl<XpElectronicFenceAreaMapper, XpElectronicFenceArea> implements IXpElectronicFenceAreaService {
    @Override
    public void removeByElectronicId(Long electronicId) {
        this.remove(Wrappers.lambdaQuery(XpElectronicFenceArea.class)
                .eq(XpElectronicFenceArea::getElectronicId, electronicId));
    }
}