|
|
@@ -165,7 +165,7 @@ public class DeviceInfoServiceImpl extends SuperService implements DeviceInfoSer
|
|
|
|
|
|
public DeviceInfoMoreModel toMoreModel(DeviceInfo entity) {
|
|
|
DeviceInfoMoreModel model = null;
|
|
|
- if (ObjectUtils.isEmpty(entity)) {
|
|
|
+ if (ObjectUtils.isNotEmpty(entity)) {
|
|
|
model = new DeviceInfoMoreModel();
|
|
|
DeviceInfoModel deviceInfoModel = toModel(entity);
|
|
|
BeanUtils.copyProperties(deviceInfoModel, model);
|