|
@@ -143,7 +143,7 @@ public class TDeviceListServiceImpl implements ITDeviceListService {
|
|
|
}
|
|
|
}
|
|
|
//根据设备表示ID查询数据库中的设备信息
|
|
|
- List<RateDto> rateDtoList = tDeviceListMapper.selectTDeviceByDeviceId(tDeviceList.getDeviceId());
|
|
|
+ List<TDeviceList> rateDtoList = tDeviceListMapper.selectTDeviceByDeviceIdCode(tDeviceList.getDeviceId());
|
|
|
if (rateDtoList != null && !rateDtoList.isEmpty()) {
|
|
|
//如果表中有该设备则提示
|
|
|
StringBuilder stringBuilder = new StringBuilder();
|