zhaowei
2025-04-25 ba71f385a6dcf10c0a80d21d1c6edf80be9ad833
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package org.jeecg.modules.mdc.service.impl;
 
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.mdc.entity.EquipmentXYZ;
import org.jeecg.modules.mdc.mapper.EquipmentXYZMapper;
import org.jeecg.modules.mdc.service.IEquipmentXYZService;
import org.springframework.stereotype.Service;
 
/**
 * @author: LiuS
 * @create: 2023-04-07 14:40
 */
@Service
public class EquipmentXYZServiceImpl extends ServiceImpl<EquipmentXYZMapper, EquipmentXYZ> implements IEquipmentXYZService {
    @Override
    public EquipmentXYZ getByEquipmentId(String equipmentId) {
        return this.getOne(new LambdaQueryWrapper<EquipmentXYZ>().eq(EquipmentXYZ::getEquipmentid, equipmentId));
    }
}