break;结束当前循环
break bgm; 结束名称为 bgm的for循环
举例:
bgm:for (String dev:devIdList) {
if(status.equals(0)) {
break;
}
for (IotDataDescription iotDataDescription : iotDataDescriptions) {
if(status.equals(0)) {
break bgm;
}
}
}