|  |  | 
 |  |  | package com.by4cloud.platformx.device.service.impl; | 
 |  |  |  | 
 |  |  | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; | 
 |  |  | import com.baomidou.mybatisplus.core.metadata.IPage; | 
 |  |  | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; | 
 |  |  | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; | 
 |  |  | 
 |  |  | import com.by4cloud.platformx.device.mapper.DeviceTechnicalAgreementMapper; | 
 |  |  | import com.by4cloud.platformx.device.service.DeviceTechnicalAgreementService; | 
 |  |  | import org.springframework.stereotype.Service; | 
 |  |  |  | 
 |  |  | import java.util.List; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  |  * 设备技术协议 | 
 |  |  |  * | 
 |  |  | 
 |  |  |    public IPage pageNew(Page page, DeviceTechnicalAgreemntQueryDTO queryDTO) { | 
 |  |  |       return baseMapper.page(page,queryDTO); | 
 |  |  |    } | 
 |  |  |  | 
 |  |  |    @Override | 
 |  |  |    public List<DeviceTechnicalAgreemnt> getDropdownnList(Long deviceId) { | 
 |  |  |       QueryWrapper<DeviceTechnicalAgreemnt> queryWrapper = new QueryWrapper<>(); | 
 |  |  |       queryWrapper.eq("device_id",deviceId); | 
 |  |  |       List<DeviceTechnicalAgreemnt> list = baseMapper.selectList(queryWrapper); | 
 |  |  |       return list; | 
 |  |  |    } | 
 |  |  | } |