|
@@ -95,9 +95,11 @@ public class DeviceQualityServiceImpl extends ServiceImpl<DeviceQualityMapper, D
|
|
|
vo.setDeviceQualityValue(copy(DeviceQualityValueDto.Vo.class, deviceQualityValue));
|
|
|
//机器ID号商户信息
|
|
|
DeviceCreateIds deviceCreateIdsInfo = deviceCreateIdsJMaps.get(vo.getDeviceId());
|
|
|
- MercDto.Vo merc = mercsJMaps.get(deviceCreateIdsInfo.getDeviceQrMercId());
|
|
|
- if (Emptys.check(merc)) {
|
|
|
- vo.setDeviceQrMercId(merc.getId()).setDeviceQrMercName(merc.getName());
|
|
|
+ if (Emptys.check(deviceCreateIdsInfo)) {
|
|
|
+ MercDto.Vo merc = mercsJMaps.get(deviceCreateIdsInfo.getDeviceQrMercId());
|
|
|
+ if (Emptys.check(merc)) {
|
|
|
+ vo.setDeviceQrMercId(merc.getId()).setDeviceQrMercName(merc.getName());
|
|
|
+ }
|
|
|
}
|
|
|
});
|
|
|
}
|