111
This commit is contained in:
parent
0f43b64d0b
commit
95b8de13ec
|
@ -243,7 +243,7 @@ public class AsDeviceServiceImpl extends ServiceImpl<AsDeviceMapper, AsDevice> i
|
|||
}
|
||||
|
||||
Long hardwareVersionId = asDevice.getHardwareVersionId();
|
||||
if (ObjectUtil.isNotNull(hardwareVersionId) && areaId!=0) {
|
||||
if (ObjectUtil.isNotNull(hardwareVersionId) && ObjectUtil.isNotNull(areaId) && areaId!=0) {
|
||||
EtHardwareVersion etHardwareVersion = hardwareVersionService.selectEtHardwareVersionById(hardwareVersionId);
|
||||
asDevice.setHardwareVersion(etHardwareVersion.getVersion());
|
||||
}
|
||||
|
@ -335,7 +335,7 @@ public class AsDeviceServiceImpl extends ServiceImpl<AsDeviceMapper, AsDevice> i
|
|||
asDevice1.setQrText(sysDept.getDomain()+"?sn="+asDevice1.getSn());
|
||||
asDevice1.setDeptName(sysDept.getDeptName());
|
||||
}else{
|
||||
asDevice1.setQrText("");
|
||||
asDevice1.setQrText("https://dche.ccttiot.com?sn="+asDevice1.getSn());
|
||||
}
|
||||
pullDeviceInfo(asDevice1);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user