Commit ac2152b2ae76dd1a8e9f69b0a353000dd7ee7442

Authored by 云中非
1 parent b4b009a3

fix(DEFECT-725): 设备配置是否默认配置丢失问题

... ... @@ -215,6 +215,7 @@ public class YtDeviceProfileController extends BaseController {
215 215 tbDeviceProfile.setType(DeviceProfileType.DEFAULT);
216 216 UUID tenantId = UUID.fromString(deviceProfileDTO.getTenantId());
217 217 tbDeviceProfile.setTenantId(TenantId.fromUUID(tenantId));
  218 + tbDeviceProfile.setDefault(deviceProfileDTO.isDefault());
218 219
219 220 // 获取当前租户的默认规则链
220 221 if (StringUtils.isNotBlank(deviceProfileDTO.getDefaultRuleChainId())) {
... ...