| | |
| | | package org.jeecg.modules.dry.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import org.jeecg.modules.dry.entity.DryEqpType; |
| | | import org.jeecg.modules.dry.mapper.DryEqpTypeMapper; |
| | | import org.jeecg.modules.dry.service.IDryEqpTypeService; |
| | |
| | | @Service |
| | | public class DryEqpTypeServiceImpl extends ServiceImpl<DryEqpTypeMapper, DryEqpType> implements IDryEqpTypeService { |
| | | |
| | | @Override |
| | | public DryEqpType selectByTenantIdTypeId(String tenantId, String id) { |
| | | LambdaQueryWrapper<DryEqpType> query = new LambdaQueryWrapper<>(); |
| | | query.eq(DryEqpType::getTenantId, tenantId); |
| | | query.eq(DryEqpType::getId, id); |
| | | return this.getOne(query); |
| | | } |
| | | } |