增加agent联调,获取最新策略应答功能

This commit is contained in:
gaoyutao
2025-10-22 17:54:46 +08:00
parent 4fdaadee65
commit 31d8114c05
45 changed files with 1686 additions and 341 deletions
@@ -43,7 +43,7 @@ public class DataProcessUtil {
R<List<RmSwitchManagementRemote>> switchMsg = remoteRevenueConfigService
.getSwitchNameByClientId(queryParam, SecurityConstants.INNER);
if (switchMsg != null && switchMsg.getData() != null) {
if (switchMsg != null && switchMsg.getData() != null && !switchMsg.getData().isEmpty()) {
return switchMsg.getData().get(0).getClientId();
}
} catch (Exception e) {
@@ -253,7 +253,7 @@ public class DataProcessUtil {
R<List<RmSwitchManagementRemote>> switchMsg = remoteRevenueConfigService
.getSwitchNameByClientId(queryParam, SecurityConstants.INNER);
if (switchMsg != null && switchMsg.getData() != null) {
if (switchMsg != null && switchMsg.getData() != null && !switchMsg.getData().isEmpty()) {
return switchMsg.getData().get(0);
}
} catch (Exception e) {