fix: 修正查询绑定

dev
huangfeng 1 year ago
parent 709fd61d6e
commit e746addf17

@ -252,6 +252,8 @@ public class ParamBindServiceImpl implements ParamBindService {
throw new BusinessException("未找到该监测装置"); throw new BusinessException("未找到该监测装置");
} }
NSensor sensor = optionalNSensor.get(); NSensor sensor = optionalNSensor.get();
ModevType modevType = modevTypeService.detail(sensor.getTypeId());
sensor.setTableName(modevType.getTablename());
BindDetail result = new BindDetail(); BindDetail result = new BindDetail();
result.setEqmid(eqmid); result.setEqmid(eqmid);

Loading…
Cancel
Save