| | |
| | | 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; |
| | |
| | | */ |
| | | @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)); |
| | | } |
| | | } |