取消继电器不可重复限制
This commit is contained in:
parent
3d1356d0b7
commit
fe033c805d
|
|
@ -40,6 +40,7 @@ import java.util.ArrayList;
|
|||
import java.util.Arrays;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* @Description: surv_device_deploy
|
||||
|
|
@ -436,7 +437,12 @@ public class SurvDeviceDeployController extends JeecgController<SurvDeviceDeploy
|
|||
}
|
||||
}
|
||||
//拉取完后,顺便触发一次查询所有继电器和运行状态
|
||||
boolean b= p3Service.sendMqttDeviceQuery(deploy,variables);
|
||||
if(!variables.isEmpty()) {
|
||||
List<String> fianlVariables = variables.stream()
|
||||
.distinct()
|
||||
.collect(Collectors.toList());
|
||||
boolean b = p3Service.sendMqttDeviceQuery(deploy, fianlVariables);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
List<SurvDeviceDeployRelay> pageList = relayService.relayList(deployId,null);
|
||||
|
|
|
|||
Loading…
Reference in New Issue