Commit 3e559689472ee2af6f97517f21570e3d71a1672e

Authored by 云中非
1 parent 21e314f0

fix: 设备配置图片丢失

@@ -210,6 +210,7 @@ public class YtDeviceProfileController extends BaseController { @@ -210,6 +210,7 @@ public class YtDeviceProfileController extends BaseController {
210 tbDeviceProfile.setId(new DeviceProfileId(profileId)); 210 tbDeviceProfile.setId(new DeviceProfileId(profileId));
211 } 211 }
212 tbDeviceProfile.setName(deviceProfileDTO.getName()); 212 tbDeviceProfile.setName(deviceProfileDTO.getName());
  213 + tbDeviceProfile.setImage(deviceProfileDTO.getImage());
213 tbDeviceProfile.setDescription(deviceProfileDTO.getDescription()); 214 tbDeviceProfile.setDescription(deviceProfileDTO.getDescription());
214 tbDeviceProfile.setType(DeviceProfileType.DEFAULT); 215 tbDeviceProfile.setType(DeviceProfileType.DEFAULT);
215 UUID tenantId = UUID.fromString(deviceProfileDTO.getTenantId()); 216 UUID tenantId = UUID.fromString(deviceProfileDTO.getTenantId());