Showing
1 changed file
with
1 additions
and
0 deletions
... | ... | @@ -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())) { | ... | ... |