Showing
1 changed file
with
2 additions
and
2 deletions
... | ... | @@ -238,8 +238,8 @@ public class TkDeviceProfileController extends BaseController { |
238 | 238 | } |
239 | 239 | tbDeviceProfile.setDefaultRuleChainId(new RuleChainId(chainId)); |
240 | 240 | } |
241 | - | |
242 | - tbDeviceProfile.setDefaultQueueName(ServiceQueue.MAIN); | |
241 | + String queueName = deviceProfileDTO.getDefaultQueueName(); | |
242 | + tbDeviceProfile.setDefaultQueueName(StringUtils.isEmpty(queueName)?ServiceQueue.MAIN:queueName); | |
243 | 243 | tbDeviceProfile.setProvisionType(DeviceProfileProvisionType.DISABLED); |
244 | 244 | |
245 | 245 | // 传输类型默认都是Default | ... | ... |