干燥机配套车间生产管理系统/云平台服务端
bsw215583320
2024-11-08 9f09976eaa3ca19c7aa0173d174cf2d5bf8c976c
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
26
27
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;
import org.springframework.stereotype.Service;
 
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
 
/**
 * @Description: 设备类型
 * @Author: jeecg-boot
 * @Date:   2023-03-08
 * @Version: V1.0
 */
@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);
    }
}