取消继电器不可重复限制

This commit is contained in:
zhangyue 2026-05-27 12:21:17 +08:00
parent 3d1356d0b7
commit fe033c805d
1 changed files with 8 additions and 2 deletions

View File

@ -40,8 +40,9 @@ 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
* @Author: jeecg-boot
* @Date: 2023-06-24
@ -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);